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

Unified Diff: chrome/browser/android/password_ui_view_android.cc

Issue 2579823003: Remove Finch support for PasswordBranding (Closed)
Patch Set: More succinct Created 4 years 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 side-by-side diff with in-line comments
Download patch
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);

Powered by Google App Engine
This is Rietveld 408576698