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

Unified Diff: chrome/browser/profiles/profile.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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index f5e9820f3a3ee4ca2e27b84730c7c9db2da5b369..a645ea7cbf4236b1d8fd1728d332e282ffb5ebc0 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -214,7 +214,8 @@ bool Profile::IsSyncAllowed() {
// No ProfileSyncService created yet - we don't want to create one, so just
// infer the accessible state by looking at prefs/command line flags.
sync_driver::SyncPrefs prefs(GetPrefs());
- return ProfileSyncService::IsSyncAllowedByFlag() && !prefs.IsManaged();
+ return browser_sync::ProfileSyncService::IsSyncAllowedByFlag() &&
+ !prefs.IsManaged();
}
void Profile::MaybeSendDestroyedNotification() {
« no previous file with comments | « chrome/browser/permissions/permission_uma_util_unittest.cc ('k') | chrome/browser/profiles/profile_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698