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

Side by Side Diff: chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementScreenHelper.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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.chrome.browser.signin; 5 package org.chromium.chrome.browser.signin;
6 6
7 import android.content.Context; 7 import android.content.Context;
8 import android.content.Intent; 8 import android.content.Intent;
9 import android.provider.Settings; 9 import android.provider.Settings;
10 10
11 import org.chromium.base.CalledByNative;
12 import org.chromium.base.ThreadUtils; 11 import org.chromium.base.ThreadUtils;
12 import org.chromium.base.annotations.CalledByNative;
13 import org.chromium.chrome.browser.profiles.Profile; 13 import org.chromium.chrome.browser.profiles.Profile;
14 import org.chromium.chrome.browser.profiles.ProfileAccountManagementMetrics; 14 import org.chromium.chrome.browser.profiles.ProfileAccountManagementMetrics;
15 15
16 /** 16 /**
17 * Stub entry points and implementation interface for the account management fra gment delegate. 17 * Stub entry points and implementation interface for the account management fra gment delegate.
18 */ 18 */
19 public class AccountManagementScreenHelper { 19 public class AccountManagementScreenHelper {
20 20
21 /* 21 /*
22 * TODO(guohui): add all Gaia service types. 22 * TODO(guohui): add all Gaia service types.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 * @param metric One of ProfileAccountManagementMetrics constants. 65 * @param metric One of ProfileAccountManagementMetrics constants.
66 * @param gaiaServiceType A signin::GAIAServiceType. 66 * @param gaiaServiceType A signin::GAIAServiceType.
67 */ 67 */
68 public static void logEvent(int metric, int gaiaServiceType) { 68 public static void logEvent(int metric, int gaiaServiceType) {
69 nativeLogEvent(metric, gaiaServiceType); 69 nativeLogEvent(metric, gaiaServiceType);
70 } 70 }
71 71
72 // Native methods. 72 // Native methods.
73 private static native void nativeLogEvent(int metric, int gaiaServiceType); 73 private static native void nativeLogEvent(int metric, int gaiaServiceType);
74 } 74 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698