Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 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_SIGNIN_PROMO_UTIL_ANDROID_H_ | |
| 6 #define CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_ | |
| 7 | |
| 8 #include "base/android/jni_android.h" | |
| 9 #include "components/signin/core/browser/signin_metrics.h" | |
| 10 | |
| 11 namespace chrome { | |
| 12 namespace android { | |
| 13 | |
| 14 class SigninPromoUtilAndroid { | |
| 15 public: | |
| 16 // Opens a signin flow with the specified |access_point| for metrics. | |
| 17 static void OpenAccountSigninActivityForPromo( | |
|
gogerald1
2016/07/15 17:55:42
rename OpenAccountSigninActivityForPromo to StartA
Mathieu
2016/07/15 19:22:41
Done.
| |
| 18 signin_metrics::AccessPoint access_point); | |
| 19 | |
| 20 static bool Register(JNIEnv* env); | |
| 21 }; | |
| 22 | |
| 23 } // namespace android | |
| 24 } // namespace chrome | |
| 25 | |
| 26 #endif // CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_ | |
| OLD | NEW |