Chromium Code Reviews| Index: chrome/browser/android/signin/signin_promo_util_android.h |
| diff --git a/chrome/browser/android/signin/signin_promo_util_android.h b/chrome/browser/android/signin/signin_promo_util_android.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..d3006a64669557096f346314f9131cc0409a50ee |
| --- /dev/null |
| +++ b/chrome/browser/android/signin/signin_promo_util_android.h |
| @@ -0,0 +1,26 @@ |
| +// Copyright 2016 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_ |
| +#define CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_ |
| + |
| +#include "base/android/jni_android.h" |
| +#include "components/signin/core/browser/signin_metrics.h" |
| + |
| +namespace chrome { |
| +namespace android { |
| + |
| +class SigninPromoUtilAndroid { |
| + public: |
| + // Opens a signin flow with the specified |access_point| for metrics. |
| + static void OpenAccountSigninActivityForPromo( |
|
gogerald1
2016/07/15 17:55:42
rename OpenAccountSigninActivityForPromo to StartA
Mathieu
2016/07/15 19:22:41
Done.
|
| + signin_metrics::AccessPoint access_point); |
| + |
| + static bool Register(JNIEnv* env); |
| +}; |
| + |
| +} // namespace android |
| +} // namespace chrome |
| + |
| +#endif // CHROME_BROWSER_ANDROID_SIGNIN_SIGNIN_PROMO_UTIL_ANDROID_H_ |