sync_prefs 599 chrome/browser/autocomplete/base_search_provider.cc sync_driver::SyncPrefs sync_prefs(profile->GetPrefs()); sync_prefs 602 chrome/browser/autocomplete/base_search_provider.cc !sync_prefs.GetPreferredDataTypes(syncer::UserTypes()).Has( sync_prefs 49 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc sync_driver::SyncPrefs sync_prefs(GetProfile()->GetPrefs()); sync_prefs 50 chrome/browser/extensions/api/preferences_private/preferences_private_api.cc if (!sync_prefs.HasKeepEverythingSynced()) { sync_prefs 120 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc sync_driver::SyncPrefs sync_prefs(profile->GetPrefs()); sync_prefs 121 chrome/browser/extensions/api/preferences_private/preferences_private_apitest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 13 chrome/browser/extensions/pending_enables.cc PendingEnables::PendingEnables(scoped_ptr<sync_driver::SyncPrefs> sync_prefs, sync_prefs 16 chrome/browser/extensions/pending_enables.cc : sync_prefs_(sync_prefs.Pass()), sync_prefs 32 chrome/browser/extensions/pending_enables.h PendingEnables(scoped_ptr<sync_driver::SyncPrefs> sync_prefs, sync_prefs 51 chrome/browser/sync/glue/sync_backend_host_impl.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) sync_prefs 56 chrome/browser/sync/glue/sync_backend_host_impl.cc sync_prefs_(sync_prefs), sync_prefs 76 chrome/browser/sync/glue/sync_backend_host_impl.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs); sync_prefs 94 chrome/browser/sync/profile_sync_components_factory.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) = 0; sync_prefs 438 chrome/browser/sync/profile_sync_components_factory_impl.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) { sync_prefs 439 chrome/browser/sync/profile_sync_components_factory_impl.cc return new browser_sync::SyncBackendHostImpl(name, profile, sync_prefs); sync_prefs 46 chrome/browser/sync/profile_sync_components_factory_impl.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs) OVERRIDE; sync_prefs 44 chrome/browser/sync/profile_sync_components_factory_mock.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs)); sync_prefs 40 chrome/browser/sync/startup_controller.cc const sync_driver::SyncPrefs* sync_prefs, sync_prefs 46 chrome/browser/sync/startup_controller.cc sync_prefs_(sync_prefs), sync_prefs 40 chrome/browser/sync/startup_controller.h const sync_driver::SyncPrefs* sync_prefs, sync_prefs 113 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 131 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 132 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetStartSuppressed(true); sync_prefs 143 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 144 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetManagedForTest(true); sync_prefs 156 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 178 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 195 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetKeepEverythingSynced(false); sync_prefs 196 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetPreferredDataTypes(syncer::UserTypes(), types); sync_prefs 198 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 232 chrome/browser/sync/startup_controller_unittest.cc sync_prefs()->SetSyncSetupCompleted(); sync_prefs 34 chrome/browser/sync/test_profile_sync_service.cc const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, sync_prefs 38 chrome/browser/sync/test_profile_sync_service.cc sync_prefs), sync_prefs 41 chrome/browser/sync/test_profile_sync_service.h const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, sync_prefs 108 chrome/browser/ui/sync/one_click_signin_sync_starter.cc sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs()); sync_prefs 109 chrome/browser/ui/sync/one_click_signin_sync_starter.cc sync_prefs.SetStartSuppressed(false); sync_prefs 356 chrome/browser/ui/webui/sync_setup_handler.cc sync_driver::SyncPrefs sync_prefs(GetProfile()->GetPrefs()); sync_prefs 359 chrome/browser/ui/webui/sync_setup_handler.cc args.SetBoolean("syncAllDataTypes", sync_prefs.HasKeepEverythingSynced()); sync_prefs 942 chrome/browser/ui/webui/sync_setup_handler_unittest.cc sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs()); sync_prefs 943 chrome/browser/ui/webui/sync_setup_handler_unittest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 964 chrome/browser/ui/webui/sync_setup_handler_unittest.cc sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs()); sync_prefs 965 chrome/browser/ui/webui/sync_setup_handler_unittest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 95 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 97 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.HasSyncSetupCompleted()); sync_prefs 98 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetSyncSetupCompleted(); sync_prefs 99 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.HasSyncSetupCompleted()); sync_prefs 101 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.IsStartSuppressed()); sync_prefs 102 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetStartSuppressed(true); sync_prefs 103 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.IsStartSuppressed()); sync_prefs 104 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetStartSuppressed(false); sync_prefs 105 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.IsStartSuppressed()); sync_prefs 107 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); sync_prefs 109 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetLastSyncedTime(now); sync_prefs 110 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(now, sync_prefs.GetLastSyncedTime()); sync_prefs 112 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.HasKeepEverythingSynced()); sync_prefs 113 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 114 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.HasKeepEverythingSynced()); sync_prefs 115 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetKeepEverythingSynced(true); sync_prefs 116 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.HasKeepEverythingSynced()); sync_prefs 118 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.GetEncryptionBootstrapToken().empty()); sync_prefs 119 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetEncryptionBootstrapToken("token"); sync_prefs 120 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ("token", sync_prefs.GetEncryptionBootstrapToken()); sync_prefs 124 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 125 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 129 components/sync_driver/sync_prefs_unittest.cc sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); sync_prefs 142 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetPreferredDataTypes(registered_types, registered_types); sync_prefs 149 components/sync_driver/sync_prefs_unittest.cc preferred_types = sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); sync_prefs 158 components/sync_driver/sync_prefs_unittest.cc preferred_types = sync_prefs.GetPreferredDataTypes(syncer::UserTypes()); sync_prefs 164 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 166 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.HasKeepEverythingSynced()); sync_prefs 169 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(user_types.Equals(sync_prefs.GetPreferredDataTypes(user_types))); sync_prefs 176 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetPreferredDataTypes(user_types, preferred_types); sync_prefs 178 components/sync_driver/sync_prefs_unittest.cc user_types.Equals(sync_prefs.GetPreferredDataTypes(user_types))); sync_prefs 183 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 185 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetKeepEverythingSynced(false); sync_prefs 188 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(user_types.Equals(sync_prefs.GetPreferredDataTypes(user_types))); sync_prefs 223 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetPreferredDataTypes(user_types, preferred_types); sync_prefs 225 components/sync_driver/sync_prefs_unittest.cc sync_prefs.GetPreferredDataTypes(user_types))); sync_prefs 235 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 242 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.IsManaged()); sync_prefs 244 components/sync_driver/sync_prefs_unittest.cc sync_prefs.AddSyncPrefObserver(&mock_sync_pref_observer); sync_prefs 246 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetManagedForTest(true); sync_prefs 247 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.IsManaged()); sync_prefs 248 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetManagedForTest(false); sync_prefs 249 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.IsManaged()); sync_prefs 251 components/sync_driver/sync_prefs_unittest.cc sync_prefs.RemoveSyncPrefObserver(&mock_sync_pref_observer); sync_prefs 255 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 258 components/sync_driver/sync_prefs_unittest.cc sync_prefs.GetAcknowledgeSyncedTypesForTest(); sync_prefs 263 components/sync_driver/sync_prefs_unittest.cc sync_prefs.AcknowledgeSyncedTypes(acknowledge_synced_types); sync_prefs 265 components/sync_driver/sync_prefs_unittest.cc sync_prefs.GetAcknowledgeSyncedTypesForTest())); sync_prefs 270 components/sync_driver/sync_prefs_unittest.cc SyncPrefs sync_prefs(&pref_service_); sync_prefs 272 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.HasSyncSetupCompleted()); sync_prefs 273 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); sync_prefs 274 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.GetEncryptionBootstrapToken().empty()); sync_prefs 276 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetSyncSetupCompleted(); sync_prefs 277 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetLastSyncedTime(base::Time::Now()); sync_prefs 278 components/sync_driver/sync_prefs_unittest.cc sync_prefs.SetEncryptionBootstrapToken("token"); sync_prefs 280 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.HasSyncSetupCompleted()); sync_prefs 281 components/sync_driver/sync_prefs_unittest.cc EXPECT_NE(base::Time(), sync_prefs.GetLastSyncedTime()); sync_prefs 282 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ("token", sync_prefs.GetEncryptionBootstrapToken()); sync_prefs 284 components/sync_driver/sync_prefs_unittest.cc sync_prefs.ClearPreferences(); sync_prefs 286 components/sync_driver/sync_prefs_unittest.cc EXPECT_FALSE(sync_prefs.HasSyncSetupCompleted()); sync_prefs 287 components/sync_driver/sync_prefs_unittest.cc EXPECT_EQ(base::Time(), sync_prefs.GetLastSyncedTime()); sync_prefs 288 components/sync_driver/sync_prefs_unittest.cc EXPECT_TRUE(sync_prefs.GetEncryptionBootstrapToken().empty());