| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index c93ad22e6d40c8b893001a426666a4eab858baab..11f322d8661ddc803c45addc9b7f27a0d911ad61 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -13,8 +13,8 @@
|
| #include "chrome/browser/profiles/profile_manager.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/sync/profile_sync_service_factory.h"
|
| -#include "chrome/browser/sync/sync_prefs.h"
|
| #include "chrome/common/pref_names.h"
|
| +#include "components/sync_driver/sync_prefs.h"
|
| #include "components/user_prefs/pref_registry_syncable.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/notification_source.h"
|
| @@ -204,7 +204,7 @@ bool Profile::IsSyncAccessible() {
|
|
|
| // No ProfileSyncService created yet - we don't want to create one, so just
|
| // infer the accessible state by looking at prefs/command line flags.
|
| - browser_sync::SyncPrefs prefs(GetPrefs());
|
| + sync_driver::SyncPrefs prefs(GetPrefs());
|
| return ProfileSyncService::IsSyncEnabled() && !prefs.IsManaged();
|
| }
|
|
|
|
|