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

Side by Side Diff: chrome/browser/android/signin/account_management_screen_helper.cc

Issue 1475773002: Add context_utils.h includes where needed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #include "chrome/browser/android/signin/account_management_screen_helper.h" 5 #include "chrome/browser/android/signin/account_management_screen_helper.h"
6 6
7 #include "base/android/context_utils.h"
7 #include "base/android/jni_android.h" 8 #include "base/android/jni_android.h"
8 #include "base/android/jni_string.h" 9 #include "base/android/jni_string.h"
9 #include "chrome/browser/profiles/profile.h" 10 #include "chrome/browser/profiles/profile.h"
10 #include "chrome/browser/profiles/profile_android.h" 11 #include "chrome/browser/profiles/profile_android.h"
11 #include "chrome/browser/profiles/profile_metrics.h" 12 #include "chrome/browser/profiles/profile_metrics.h"
12 #include "jni/AccountManagementScreenHelper_jni.h" 13 #include "jni/AccountManagementScreenHelper_jni.h"
13 14
14 // static 15 // static
15 void AccountManagementScreenHelper::OpenAccountManagementScreen( 16 void AccountManagementScreenHelper::OpenAccountManagementScreen(
16 Profile* profile, 17 Profile* profile,
(...skipping 14 matching lines...) Expand all
31 jint gaiaServiceType) { 32 jint gaiaServiceType) {
32 ProfileMetrics::LogProfileAndroidAccountManagementMenu( 33 ProfileMetrics::LogProfileAndroidAccountManagementMenu(
33 static_cast<ProfileMetrics::ProfileAndroidAccountManagementMenu>(metric), 34 static_cast<ProfileMetrics::ProfileAndroidAccountManagementMenu>(metric),
34 static_cast<signin::GAIAServiceType>(gaiaServiceType)); 35 static_cast<signin::GAIAServiceType>(gaiaServiceType));
35 } 36 }
36 37
37 // static 38 // static
38 bool AccountManagementScreenHelper::Register(JNIEnv* env) { 39 bool AccountManagementScreenHelper::Register(JNIEnv* env) {
39 return RegisterNativesImpl(env); 40 return RegisterNativesImpl(env);
40 } 41 }
OLDNEW
« no previous file with comments | « chrome/browser/android/shortcut_helper.cc ('k') | chrome/browser/android/webapps/webapp_registry.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698