Index: chrome/browser/android/password_ui_view_android.cc |
diff --git a/chrome/browser/android/password_ui_view_android.cc b/chrome/browser/android/password_ui_view_android.cc |
index 2bd48501841cf94ca9ca7276b31c19f6fae507a3..7e0dd80bbf1b0f4aa7a7730659eba9e7f195f613 100644 |
--- a/chrome/browser/android/password_ui_view_android.cc |
+++ b/chrome/browser/android/password_ui_view_android.cc |
@@ -11,6 +11,7 @@ |
#include "base/prefs/pref_service.h" |
#include "chrome/browser/profiles/profile_manager.h" |
#include "chrome/browser/ui/passwords/manage_passwords_view_utils.h" |
+#include "chrome/browser/ui/passwords/password_bubble_experiment.h" |
#include "chrome/common/pref_names.h" |
#include "chrome/common/url_constants.h" |
#include "components/autofill/core/common/password_form.h" |
@@ -114,6 +115,12 @@ static jboolean ShouldDisplayManageAccountLink( |
return password_manager::ManageAccountLinkExperimentEnabled(); |
} |
+static jboolean ShouldUseSmartLockBranding( |
+ JNIEnv* env, jclass) { |
+ return password_bubble_experiment::IsSmartLockBrandingEnabled( |
+ ProfileManager::GetLastUsedProfile()); |
+} |
+ |
// static |
static jlong Init(JNIEnv* env, jobject obj) { |
PasswordUIViewAndroid* controller = new PasswordUIViewAndroid(env, obj); |