/external/chromium_org/chrome/browser/ui/ash/ |
app_sync_ui_state.cc | 57 sync_service_(NULL), 76 DCHECK(!sync_service_); 82 sync_service_ = ProfileSyncServiceFactory::GetForProfile(profile_); 83 CHECK(sync_service_); 84 sync_service_->AddObserver(this); 88 if (!sync_service_) 92 sync_service_->RemoveObserver(this); 93 sync_service_ = NULL; 122 if (!sync_service_ || !sync_service_->HasSyncSetupCompleted() [all...] |
/external/chromium/chrome/browser/ui/webui/ |
new_tab_page_sync_handler.cc | 74 NewTabPageSyncHandler::NewTabPageSyncHandler() : sync_service_(NULL), 79 if (sync_service_) 80 sync_service_->RemoveObserver(this); 100 sync_service_ = web_ui->GetProfile()->GetProfileSyncService(); 101 DCHECK(sync_service_); // This shouldn't get called by an incognito NTP. 102 DCHECK(!sync_service_->IsManaged()); // And neither if sync is managed. 103 sync_service_->AddObserver(this); 127 if (!sync_service_ || sync_service_->IsManaged()) { 133 if (!sync_service_->HasSyncSetupCompleted()) [all...] |
new_tab_page_sync_handler.h | 60 ProfileSyncService* sync_service_; member in class:NewTabPageSyncHandler
|
/external/chromium/chrome/browser/sync/glue/ |
theme_model_associator.cc | 31 : sync_service_(sync_service) { 32 DCHECK(sync_service_); 38 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); 45 Profile* profile = sync_service_->profile(); 84 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); 98 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); 100 sync_service_->GetEncryptedDataTypes(&encrypted_types); 102 sync_service_->IsCryptographerReady(&trans);
|
theme_model_associator.h | 40 ProfileSyncService* sync_service_; member in class:browser_sync::ThemeModelAssociator
|
preference_model_associator.cc | 26 : sync_service_(sync_service), 29 DCHECK(sync_service_); 34 PrefService* pref_service = sync_service_->profile()->GetPrefs(); 51 PrefService* pref_service = sync_service_->profile()->GetPrefs(); 116 PrefService* pref_service = sync_service_->profile()->GetPrefs(); 125 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); 158 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); 212 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); 331 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); 333 sync_service_->GetEncryptedDataTypes(&encrypted_types) [all...] |
bookmark_data_type_controller.cc | 41 Source<Profile>(sync_service_->profile())); 67 CreateBookmarkSyncComponents(sync_service_, this);
|
frontend_data_type_controller.cc | 21 sync_service_(NULL) {} 29 sync_service_(sync_service), 100 sync_service_->ActivateDataType(this, change_processor_.get()); 117 sync_service_->DeactivateDataType(this, change_processor_.get()); 150 sync_service_->OnUnrecoverableError(from_here, message);
|
password_data_type_controller.cc | 27 sync_service_(sync_service), 97 sync_service_->DeactivateDataType(this, change_processor_.get()); 139 sync_service_, 166 sync_service_->ActivateDataType(this, change_processor_.get()); 223 sync_service_->OnUnrecoverableError(from_here, message);
|
app_data_type_controller.cc | 36 profile_sync_factory_->CreateAppSyncComponents(sync_service_,
|
extension_data_type_controller.cc | 36 profile_sync_factory_->CreateExtensionSyncComponents(sync_service_,
|
preference_data_type_controller.cc | 29 CreatePreferenceSyncComponents(sync_service_, this);
|
session_data_type_controller.cc | 33 CreateSessionSyncComponents(sync_service_, this);
|
theme_data_type_controller.cc | 36 profile_sync_factory_->CreateThemeSyncComponents(sync_service_,
|
/external/chromium_org/chrome/browser/ui/webui/ |
welcome_handler_android.cc | 15 : sync_service_(NULL), 38 sync_service_ = ProfileSyncServiceFactory::GetInstance()->GetForProfile( 40 if (sync_service_) 41 observer_manager_.Add(sync_service_); 62 sync_service_ && sync_service_->IsSyncEnabledAndLoggedIn();
|
welcome_handler_android.h | 49 ProfileSyncService* sync_service_; member in class:WelcomeHandler
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
new_tab_page_sync_handler.cc | 36 NewTabPageSyncHandler::NewTabPageSyncHandler() : sync_service_(NULL), 41 if (sync_service_) 42 sync_service_->RemoveObserver(this); 62 sync_service_ = ProfileSyncServiceFactory::GetInstance()->GetForProfile( 64 if (sync_service_) 65 sync_service_->AddObserver(this); 95 if (!sync_service_ || 96 sync_service_->IsManaged() || 104 if (!sync_service_->HasSyncSetupCompleted()) { 118 sync_ui_util::GetStatusLabelsForNewTabPage(sync_service_, [all...] |
new_tab_page_sync_handler.h | 67 ProfileSyncService* sync_service_; member in class:NewTabPageSyncHandler
|
/external/chromium_org/chrome/browser/sync/ |
profile_sync_service_android.cc | 58 sync_service_(NULL), 74 sync_service_ = 76 DCHECK(sync_service_); 80 sync_service_->AddObserver(this); 84 if (sync_service_->HasObserver(this)) { 85 sync_service_->RemoveObserver(this); 140 sync_service_->UnsuppressAndStart(); 149 sync_service_->StopAndSuppress(); 162 if (sync_service_->IsSyncEnabledAndLoggedIn() && 163 sync_service_->IsOAuthRefreshTokenAvailable() & [all...] |
/external/chromium_org/chrome/browser/extensions/api/sync_file_system/ |
extension_sync_event_observer.cc | 27 sync_service_(NULL) {} 32 if (sync_service_ != NULL) { 33 DCHECK_EQ(sync_service_, sync_service); 36 sync_service_ = sync_service; 37 sync_service_->AddSyncEventObserver(this); 43 if (sync_service_ != NULL) 44 sync_service_->RemoveSyncEventObserver(this);
|
extension_sync_event_observer.h | 57 sync_file_system::SyncFileSystemService* sync_service_; member in class:extensions::ExtensionSyncEventObserver
|
/external/chromium_org/chrome/browser/sync_file_system/ |
sync_process_runner.h | 40 SyncFileSystemService* sync_service() { return sync_service_; } 52 SyncFileSystemService* sync_service_; member in class:sync_file_system::SyncProcessRunner
|
sync_file_system_service_unittest.cc | 132 sync_service_.reset(new SyncFileSystemService(&profile_)); 137 AddFileStatusObserver(sync_service_.get())).Times(1); 144 sync_service_->Initialize( 150 sync_service_->SetSyncEnabledForTesting(false); 156 sync_service_->Shutdown(); 175 sync_service_->InitializeForApp( 200 sync_service_->AddSyncEventObserver(&event_observer); 220 sync_service_->InitializeForApp( 231 sync_service_->RemoveSyncEventObserver(&event_observer); 248 sync_service_->SetSyncEnabledForTesting(true) 262 scoped_ptr<SyncFileSystemService> sync_service_; member in class:sync_file_system::SyncFileSystemServiceTest [all...] |
/external/chromium_org/chrome/browser/sync/glue/ |
shared_change_processor_unittest.cc | 41 sync_service_(&profile_) {} 109 &sync_service_, 122 NiceMock<ProfileSyncServiceMock> sync_service_; member in class:browser_sync::__anon5702::SyncSharedChangeProcessorTest
|
/external/chromium/chrome/browser/sync/ |
profile_sync_service_session_unittest.cc | 59 ProfileSyncService* sync_service() { return sync_service_.get(); } 61 TestIdFactory* ids() { return sync_service_->id_factory(); } 95 sync_service_.reset(); 106 if (sync_service_.get()) 108 sync_service_.reset(new TestProfileSyncService( 114 new SessionModelAssociator(sync_service_.get(), 117 sync_service_.get(), model_associator_, 124 sync_service_->RegisterDataTypeController( 127 sync_service_.get())); 130 sync_service_->Initialize() 142 scoped_ptr<TestProfileSyncService> sync_service_; member in class:browser_sync::ProfileSyncServiceSessionTest [all...] |