Popular sites on the NTP: check that experiment group StartsWith (rather than IS...
[chromium-blink-merge.git] / chrome / browser / android / signin / account_management_screen_helper.h
blob8487848b30f84ff16b3bf3f135ef900f3a029df9
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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
8 #include <jni.h>
10 #include "base/basictypes.h"
11 #include "components/signin/core/browser/signin_header_helper.h"
13 class Profile;
15 // The glue for Java-side implementation of AccountManagementScreenHelper.
16 class AccountManagementScreenHelper {
17 public:
18 // Registers AccountManagementScreenHelper native methods through JNI.
19 static bool Register(JNIEnv* env);
21 // Opens the account management screen.
22 static void OpenAccountManagementScreen(Profile* profile,
23 signin::GAIAServiceType service_type);
25 private:
26 DISALLOW_COPY_AND_ASSIGN(AccountManagementScreenHelper);
29 #endif // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_