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

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

Issue 304983005: [Android][Mirror] UMA stats for Account management screen. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 6 years, 6 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 | Annotate | Revision Log
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 #ifndef CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_ 6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
7 7
8 #include <jni.h> 8 #include <jni.h>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "chrome/browser/signin/signin_header_helper.h"
11 12
12 class Profile; 13 class Profile;
13 14
14 // The glue for Java-side implementation of AccountManagementScreenHelper. 15 // The glue for Java-side implementation of AccountManagementScreenHelper.
15 class AccountManagementScreenHelper { 16 class AccountManagementScreenHelper {
16 public: 17 public:
17 // Registers AccountManagementScreenHelper native methods through JNI. 18 // Registers AccountManagementScreenHelper native methods through JNI.
18 static bool Register(JNIEnv* env); 19 static bool Register(JNIEnv* env);
19 20
20 // Opens the account management screen. 21 // Opens the account management screen.
21 static void OpenAccountManagementScreen(Profile* profile); 22 static void OpenAccountManagementScreen(Profile* profile,
23 signin::GAIAServiceType service_type);
22 24
23 private: 25 private:
24 DISALLOW_COPY_AND_ASSIGN(AccountManagementScreenHelper); 26 DISALLOW_COPY_AND_ASSIGN(AccountManagementScreenHelper);
25 }; 27 };
26 28
27 #endif // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_ 29 #endif // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698