OLD | NEW |
---|---|
(Empty) | |
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. | |
4 | |
5 package org.chromium.content_shell; | |
6 | |
7 import android.content.Context; | |
8 | |
9 import org.chromium.base.CalledByNative; | |
10 import org.chromium.base.JNINamespace; | |
11 | |
12 /** | |
13 * Utility methods used when using content_shell for running Blink's layout | |
bulach
2013/06/19 17:57:42
s/used when using/used by/
Peter Beverloo
2013/06/19 19:48:32
Done.
| |
14 * tests on Android. | |
15 */ | |
16 @JNINamespace("content") | |
17 public class ShellLayoutTestUtils { | |
bulach
2013/06/19 17:57:42
nit: s/public//
Peter Beverloo
2013/06/19 19:48:32
Done.
| |
18 /** | |
19 * @return The directory in which the test files, for example FIFOs, can be stored. | |
20 */ | |
21 @SuppressWarnings("unused") | |
22 @CalledByNative | |
23 public static String getApplicationFilesDirectory(Context appContext) { | |
bulach
2013/06/19 17:57:42
nit: s/public/private/
Peter Beverloo
2013/06/19 19:48:32
Done. Weird, though, since we access it from outsi
| |
24 return appContext.getFilesDir().getAbsolutePath(); | |
25 } | |
26 } | |
OLD | NEW |