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

Side by Side Diff: chrome/browser/android/signin/signin_promo_util_android.cc

Issue 2138643004: [Autofill] Add support for signin promo on Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@aaa
Patch Set: signin_promo_util Created 4 years, 5 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
OLDNEW
(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 #include "chrome/browser/android/signin/signin_promo_util_android.h"
6
7 #include "base/android/context_utils.h"
8 #include "base/android/jni_android.h"
9 #include "jni/SigninPromoUtil_jni.h"
10
11 namespace chrome {
12 namespace android {
13
14 // static
15 void SigninPromoUtilAndroid::OpenAccountSigninActivityForPromo(
16 signin_metrics::AccessPoint access_point) {
17 Java_SigninPromoUtil_openAccountSigninActivityForPromo(
18 base::android::AttachCurrentThread(),
19 base::android::GetApplicationContext(), jint(access_point));
20 }
21
22 // static
23 bool SigninPromoUtilAndroid::Register(JNIEnv* env) {
24 return RegisterNativesImpl(env);
25 }
26
27 } // namespace android
28 } // namespace chrome
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698