Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Side by Side Diff: content/shell/android/java/src/org/chromium/content_shell/ShellLayoutTestUtils.java

Issue 1263053002: Move JNI annotations to annotations package. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 package org.chromium.content_shell; 5 package org.chromium.content_shell;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 8
9 import org.chromium.base.CalledByNative; 9 import org.chromium.base.annotations.CalledByNative;
10 import org.chromium.base.JNINamespace; 10 import org.chromium.base.annotations.JNINamespace;
11 11
12 /** 12 /**
13 * Utility methods used by content_shell for running Blink's layout tests on And roid. 13 * Utility methods used by content_shell for running Blink's layout tests on And roid.
14 */ 14 */
15 @JNINamespace("content") 15 @JNINamespace("content")
16 class ShellLayoutTestUtils { 16 class ShellLayoutTestUtils {
17 /** 17 /**
18 * @return The directory in which the test files, for example FIFOs, can be stored. 18 * @return The directory in which the test files, for example FIFOs, can be stored.
19 */ 19 */
20 @SuppressWarnings("unused") 20 @SuppressWarnings("unused")
21 @CalledByNative 21 @CalledByNative
22 private static String getApplicationFilesDirectory(Context appContext) { 22 private static String getApplicationFilesDirectory(Context appContext) {
23 return appContext.getFilesDir().getAbsolutePath(); 23 return appContext.getFilesDir().getAbsolutePath();
24 } 24 }
25 } 25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698