Home | History | Annotate | Download | only in signin
      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.
      4 
      5 #ifndef CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
      6 #define CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
      7 
      8 #include <jni.h>
      9 
     10 #include "base/basictypes.h"
     11 #include "chrome/browser/signin/signin_header_helper.h"
     12 
     13 class Profile;
     14 
     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);
     20 
     21   // Opens the account management screen.
     22   static void OpenAccountManagementScreen(Profile* profile,
     23                                           signin::GAIAServiceType service_type);
     24 
     25  private:
     26   DISALLOW_COPY_AND_ASSIGN(AccountManagementScreenHelper);
     27 };
     28 
     29 #endif  // CHROME_BROWSER_ANDROID_SIGNIN_ACCOUNT_MANAGEMENT_SCREEN_HELPER_H_
     30