1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org.chromium.content_shell;
7 import android.content.Context;
9 import org.chromium.base.CalledByNative;
10 import org.chromium.base.JNINamespace;
13 * Utility methods used by content_shell for running Blink's layout tests on Android.
15 @JNINamespace("content")
16 class ShellLayoutTestUtils {
18 * @return The directory in which the test files, for example FIFOs, can be stored.
20 @SuppressWarnings("unused")
22 private static String getApplicationFilesDirectory(Context appContext) {
23 return appContext.getFilesDir().getAbsolutePath();