Searched refs:sync_prefs (Results 1 - 23 of 23) sorted by relevance

/external/chromium_org/components/sync_driver/
H A Dsync_prefs_unittest.cc5 #include "components/sync_driver/sync_prefs.h"
39 SyncPrefs sync_prefs(&pref_service_);
41 EXPECT_FALSE(sync_prefs.HasSyncSetupCompleted());
42 sync_prefs.SetSyncSetupCompleted();
43 EXPECT_TRUE(sync_prefs.HasSyncSetupCompleted());
45 EXPECT_FALSE(sync_prefs.IsStartSuppressed());
46 sync_prefs.SetStartSuppressed(true);
47 EXPECT_TRUE(sync_prefs.IsStartSuppressed());
48 sync_prefs.SetStartSuppressed(false);
49 EXPECT_FALSE(sync_prefs
[all...]
/external/chromium_org/chrome/browser/sync/
H A Dstartup_controller_unittest.cc18 #include "components/sync_driver/sync_prefs.h"
96 sync_driver::SyncPrefs* sync_prefs() { return sync_prefs_.get(); } function in class:browser_sync::StartupControllerTest
113 sync_prefs()->SetSyncSetupCompleted();
131 sync_prefs()->SetSyncSetupCompleted();
132 sync_prefs()->SetStartSuppressed(true);
143 sync_prefs()->SetSyncSetupCompleted();
144 sync_prefs()->SetManagedForTest(true);
156 sync_prefs()->SetSyncSetupCompleted();
178 sync_prefs()->SetSyncSetupCompleted();
195 sync_prefs()
[all...]
H A Dbackup_rollback_controller.h25 BackupRollbackController(sync_driver::SyncPrefs* sync_prefs,
H A Dbackup_rollback_controller.cc12 #include "components/sync_driver/sync_prefs.h"
26 sync_driver::SyncPrefs* sync_prefs,
30 : sync_prefs_(sync_prefs),
25 BackupRollbackController( sync_driver::SyncPrefs* sync_prefs, const SupervisedUserSigninManagerWrapper* signin, base::Closure start_backup, base::Closure start_rollback) argument
H A Dstartup_controller.h40 const sync_driver::SyncPrefs* sync_prefs,
H A Dstartup_controller.cc14 #include "components/sync_driver/sync_prefs.h"
40 const sync_driver::SyncPrefs* sync_prefs,
46 sync_prefs_(sync_prefs),
37 StartupController( ProfileSyncServiceStartBehavior start_behavior, const ProfileOAuth2TokenService* token_service, const sync_driver::SyncPrefs* sync_prefs, const SupervisedUserSigninManagerWrapper* signin, base::Closure start_backend) argument
H A Dtest_profile_sync_service.cc37 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
41 sync_prefs, base::FilePath(FILE_PATH_LITERAL("test"))),
34 SyncBackendHostForProfileSyncTest( Profile* profile, invalidation::InvalidationService* invalidator, const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, base::Closure callback) argument
H A Dprofile_sync_components_factory.h97 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
H A Dprofile_sync_components_factory_mock.h43 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
H A Dtest_profile_sync_service.h17 #include "components/sync_driver/sync_prefs.h"
42 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
H A Dprofile_sync_components_factory_impl.h60 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
H A Dprofile_sync_service_unittest.cc34 #include "components/sync_driver/sync_prefs.h"
247 sync_driver::SyncPrefs sync_prefs(service()->profile()->GetPrefs());
248 sync_prefs.SetFirstSyncTime(base::Time::Now());
582 sync_driver::SyncPrefs sync_prefs(service()->profile()->GetPrefs());
583 base::Time first_sync_time = sync_prefs.GetFirstSyncTime();
603 EXPECT_TRUE(sync_prefs.GetFirstSyncTime().is_null());
H A Dprofile_sync_components_factory_impl.cc437 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
440 sync_prefs, sync_folder);
433 CreateSyncBackendHost( const std::string& name, Profile* profile, invalidation::InvalidationService* invalidator, const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, const base::FilePath& sync_folder) argument
/external/chromium_org/chrome/browser/extensions/api/preferences_private/
H A Dpreferences_private_api.cc11 #include "components/sync_driver/sync_prefs.h"
49 sync_driver::SyncPrefs sync_prefs(GetProfile()->GetPrefs());
50 if (!sync_prefs.HasKeepEverythingSynced()) {
H A Dpreferences_private_apitest.cc30 #include "components/sync_driver/sync_prefs.h"
135 sync_driver::SyncPrefs sync_prefs(profile->GetPrefs());
136 sync_prefs.SetKeepEverythingSynced(false);
/external/chromium_org/chrome/browser/extensions/
H A Dpending_enables.cc9 #include "components/sync_driver/sync_prefs.h"
13 PendingEnables::PendingEnables(scoped_ptr<sync_driver::SyncPrefs> sync_prefs, argument
16 : sync_prefs_(sync_prefs.Pass()),
H A Dpending_enables.h32 PendingEnables(scoped_ptr<sync_driver::SyncPrefs> sync_prefs,
/external/chromium_org/chrome/browser/autocomplete/
H A Dchrome_autocomplete_provider_client.cc85 sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
88 sync_prefs.GetPreferredDataTypes(syncer::UserTypes()).Has(
/external/chromium_org/chrome/browser/ui/sync/
H A Done_click_signin_sync_starter.cc45 #include "components/sync_driver/sync_prefs.h"
147 sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
148 sync_prefs.SetStartSuppressed(false);
/external/chromium_org/chrome/browser/sync/glue/
H A Dsync_backend_host_impl.h73 // |sync_prefs|.
77 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
H A Dsync_backend_host_impl.cc22 #include "components/sync_driver/sync_prefs.h"
74 const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs,
80 sync_prefs_(sync_prefs),
70 SyncBackendHostImpl( const std::string& name, Profile* profile, invalidation::InvalidationService* invalidator, const base::WeakPtr<sync_driver::SyncPrefs>& sync_prefs, const base::FilePath& sync_folder) argument
/external/chromium_org/chrome/browser/ui/webui/
H A Dsync_setup_handler.cc51 #include "components/sync_driver/sync_prefs.h"
372 sync_driver::SyncPrefs sync_prefs(GetProfile()->GetPrefs());
375 args.SetBoolean("syncAllDataTypes", sync_prefs.HasKeepEverythingSynced());
H A Dsync_setup_handler_unittest.cc30 #include "components/sync_driver/sync_prefs.h"
958 sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
959 sync_prefs.SetKeepEverythingSynced(false);
980 sync_driver::SyncPrefs sync_prefs(profile_->GetPrefs());
981 sync_prefs.SetKeepEverythingSynced(false);

Completed in 868 milliseconds