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

Unified Diff: chrome/browser/ui/passwords/manage_passwords_bubble_model.cc

Issue 2354613002: [Sync] Fix namespaces for the browser_sync component. (Closed)
Patch Set: Address comments. Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
diff --git a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
index f72664334261f20ad3972b1a328a7a67c954700d..5fd990e74cb4e13c306cc8af337a66862a2ea0d0 100644
--- a/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
+++ b/chrome/browser/ui/passwords/manage_passwords_bubble_model.cc
@@ -63,7 +63,7 @@ std::vector<autofill::PasswordForm> DeepCopyForms(
password_bubble_experiment::SmartLockBranding GetSmartLockBrandingState(
Profile* profile) {
- const ProfileSyncService* sync_service =
+ const browser_sync::ProfileSyncService* sync_service =
ProfileSyncServiceFactory::GetForProfile(profile);
return password_bubble_experiment::GetSmartLockBrandingState(sync_service);
}
@@ -436,7 +436,7 @@ bool ManagePasswordsBubbleModel::ShouldShowGoogleSmartLockWelcome() const {
bool ManagePasswordsBubbleModel::ReplaceToShowSignInPromoIfNeeded() {
DCHECK_EQ(password_manager::ui::PENDING_PASSWORD_STATE, state_);
PrefService* prefs = GetProfile()->GetPrefs();
- const ProfileSyncService* sync_service =
+ const browser_sync::ProfileSyncService* sync_service =
ProfileSyncServiceFactory::GetForProfile(GetProfile());
if (password_bubble_experiment::ShouldShowChromeSignInPasswordPromo(
prefs, sync_service)) {

Powered by Google App Engine
This is Rietveld 408576698