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

Unified Diff: ios/chrome/browser/ui/settings/settings_collection_view_controller.mm

Issue 2588263003: Reland: Remove Finch support for PasswordBranding (Closed)
Patch Set: Rebased only 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
« no previous file with comments | « ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
diff --git a/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm b/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
index 2628a0bdea123a3f3df4b743bc17300813464967..f8eacb202f45f22e9e30f260652be450d8b8e209 100644
--- a/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
+++ b/ios/chrome/browser/ui/settings/settings_collection_view_controller.mm
@@ -15,7 +15,6 @@
#include "components/autofill/core/common/autofill_pref_names.h"
#include "components/browser_sync/profile_sync_service.h"
#include "components/keyed_service/core/service_access_type.h"
-#include "components/password_manager/core/browser/password_bubble_experiment.h"
#include "components/password_manager/core/browser/password_store.h"
#include "components/password_manager/core/common/password_manager_pref_names.h"
#include "components/prefs/pref_change_registrar.h"
@@ -442,16 +441,10 @@ void SigninObserverBridge::GoogleSignedOut(const std::string& account_id,
NSString* passwordsDetail = savePasswordsEnabled
? l10n_util::GetNSString(IDS_IOS_SETTING_ON)
: l10n_util::GetNSString(IDS_IOS_SETTING_OFF);
- int titleId = IDS_IOS_SAVE_PASSWORDS;
- syncer::SyncService* syncService =
- IOSChromeProfileSyncServiceFactory::GetForBrowserState(_mainBrowserState);
- if (password_bubble_experiment::IsSmartLockBrandingEnabled(syncService)) {
- titleId = IDS_IOS_SAVE_PASSWORDS_SMART_LOCK;
- }
_savePasswordsDetailItem.reset(
[[self detailItemWithType:ItemTypeSavedPasswords
- text:l10n_util::GetNSString(titleId)
+ text:l10n_util::GetNSString(IDS_IOS_SAVE_PASSWORDS)
detailText:passwordsDetail] retain]);
return _savePasswordsDetailItem;
« no previous file with comments | « ios/chrome/browser/ui/settings/save_passwords_collection_view_controller.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698