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 8c0f4bf2ef863adcfd3ea08308f66559c5d7f21f..b04a960712ab65c435406ac61976b781a482c40c 100644 |
--- a/chrome/browser/android/password_ui_view_android.cc |
+++ b/chrome/browser/android/password_ui_view_android.cc |
@@ -15,11 +15,8 @@ |
#include "chrome/grit/generated_resources.h" |
#include "components/autofill/core/common/password_form.h" |
#include "components/browser_sync/profile_sync_service.h" |
-#include "components/password_manager/core/browser/affiliation_utils.h" |
-#include "components/password_manager/core/browser/password_bubble_experiment.h" |
#include "components/password_manager/core/browser/password_manager_constants.h" |
#include "components/password_manager/core/browser/password_ui_utils.h" |
-#include "components/password_manager/core/common/experiments.h" |
#include "jni/PasswordUIView_jni.h" |
#include "ui/base/l10n/l10n_util.h" |
@@ -149,14 +146,6 @@ ScopedJavaLocalRef<jstring> GetAccountDashboardURL( |
env, password_manager::kPasswordManagerAccountDashboardURL); |
} |
-static jboolean ShouldUseSmartLockBranding(JNIEnv* env, |
- const JavaParamRef<jclass>&) { |
- const browser_sync::ProfileSyncService* sync_service = |
- ProfileSyncServiceFactory::GetForProfile( |
- ProfileManager::GetLastUsedProfile()); |
- return password_bubble_experiment::IsSmartLockBrandingEnabled(sync_service); |
-} |
- |
// static |
static jlong Init(JNIEnv* env, const JavaParamRef<jobject>& obj) { |
PasswordUIViewAndroid* controller = new PasswordUIViewAndroid(env, obj); |