/external/chromium/chrome/browser/ui/webui/ |
D | new_tab_page_sync_handler.cc | 74 NewTabPageSyncHandler::NewTabPageSyncHandler() : sync_service_(NULL), in NewTabPageSyncHandler() 79 if (sync_service_) in ~NewTabPageSyncHandler() 80 sync_service_->RemoveObserver(this); in ~NewTabPageSyncHandler() 100 sync_service_ = web_ui->GetProfile()->GetProfileSyncService(); in Attach() 101 DCHECK(sync_service_); // This shouldn't get called by an incognito NTP. in Attach() 102 DCHECK(!sync_service_->IsManaged()); // And neither if sync is managed. in Attach() 103 sync_service_->AddObserver(this); in Attach() 127 if (!sync_service_ || sync_service_->IsManaged()) { in BuildAndSendSyncStatus() 133 if (!sync_service_->HasSyncSetupCompleted()) { in BuildAndSendSyncStatus() 146 sync_ui_util::GetStatusLabelsForNewTabPage(sync_service_, in BuildAndSendSyncStatus() [all …]
|
D | new_tab_page_sync_handler.h | 60 ProfileSyncService* sync_service_; variable
|
/external/chromium/chrome/browser/sync/glue/ |
D | theme_model_associator.cc | 31 : sync_service_(sync_service) { in ThemeModelAssociator() 32 DCHECK(sync_service_); in ThemeModelAssociator() 38 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 45 Profile* profile = sync_service_->profile(); in AssociateModels() 84 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 98 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in CryptoReadyIfNecessary() 100 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 102 sync_service_->IsCryptographerReady(&trans); in CryptoReadyIfNecessary()
|
D | preference_model_associator.cc | 26 : sync_service_(sync_service), in PreferenceModelAssociator() 29 DCHECK(sync_service_); in PreferenceModelAssociator() 34 PrefService* pref_service = sync_service_->profile()->GetPrefs(); in PreferenceModelAssociator() 51 PrefService* pref_service = sync_service_->profile()->GetPrefs(); in InitPrefNodeAndAssociate() 116 PrefService* pref_service = sync_service_->profile()->GetPrefs(); in AssociateModels() 125 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 158 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 212 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdForTaggedNode() 331 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in CryptoReadyIfNecessary() 333 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() [all …]
|
D | frontend_data_type_controller.cc | 21 sync_service_(NULL) {} in FrontendDataTypeController() 29 sync_service_(sync_service), in FrontendDataTypeController() 100 sync_service_->ActivateDataType(this, change_processor_.get()); in Associate() 117 sync_service_->DeactivateDataType(this, change_processor_.get()); in Stop() 150 sync_service_->OnUnrecoverableError(from_here, message); in OnUnrecoverableError()
|
D | autofill_profile_model_associator.cc | 23 : sync_service_(sync_service), in AutofillProfileModelAssociator() 30 DCHECK(sync_service_); in AutofillProfileModelAssociator() 40 : sync_service_(NULL), in AutofillProfileModelAssociator() 119 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdForTaggedNode() 160 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 184 if (sync_service_->GetAutofillMigrationState() != in AssociateModels() 189 sync_service_->SetAutofillMigrationDebugInfo( in AssociateModels() 192 sync_service_->SetAutofillMigrationState( in AssociateModels() 221 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 509 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in CryptoReadyIfNecessary() [all …]
|
D | session_model_associator.cc | 40 sync_service_(sync_service), in SessionModelAssociator() 43 DCHECK(sync_service_); in SessionModelAssociator() 50 sync_service_(sync_service), in SessionModelAssociator() 53 DCHECK(sync_service_); in SessionModelAssociator() 71 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 90 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdFromSessionTag() 162 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in ReassociateWindows() 241 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in Associate() 396 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 725 sync_service_(sync_service) { in TabNodePool() [all …]
|
D | autofill_model_associator.cc | 47 : sync_service_(sync_service), in AutofillModelAssociator() 54 DCHECK(sync_service_); in AutofillModelAssociator() 154 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 187 if (sync_service_->GetAutofillMigrationState() != in AssociateModels() 192 sync_service_->SetAutofillMigrationDebugInfo( in AssociateModels() 392 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 452 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdForTaggedNode() 540 sync_service_->GetAutofillMigrationState(); in HasNotMigratedYet() 562 sync_service_->SetAutofillMigrationState( in HasNotMigratedYet() 572 sync_service_->SetAutofillMigrationState(syncable::MIGRATED); in HasNotMigratedYet() [all …]
|
D | password_data_type_controller.cc | 27 sync_service_(sync_service), in PasswordDataTypeController() 97 sync_service_->DeactivateDataType(this, change_processor_.get()); in Stop() 139 sync_service_, in StartImpl() 166 sync_service_->ActivateDataType(this, change_processor_.get()); in StartImpl() 223 sync_service_->OnUnrecoverableError(from_here, message); in OnUnrecoverableErrorImpl()
|
D | typed_url_data_type_controller.cc | 54 sync_service_(sync_service), in TypedUrlDataTypeController() 139 sync_service_->DeactivateDataType(this, change_processor_.get()); in Stop() 181 sync_service_, in StartImpl() 208 sync_service_->ActivateDataType(this, change_processor_.get()); in StartImpl() 278 sync_service_->OnUnrecoverableError(from_here, message); in OnUnrecoverableErrorImpl()
|
D | autofill_data_type_controller.cc | 28 sync_service_(sync_service), in AutofillDataTypeController() 145 sync_service_->DeactivateDataType(this, change_processor_.get()); in Stop() 213 sync_service_, in StartImpl() 243 sync_service_->ActivateDataType(this, change_processor_.get()); in StartImpl() 320 sync_service_->OnUnrecoverableError(from_here, message); in OnUnrecoverableErrorImpl()
|
D | password_model_associator.cc | 25 : sync_service_(sync_service), in PasswordModelAssociator() 30 DCHECK(sync_service_); in PasswordModelAssociator() 63 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 186 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 209 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in CryptoReadyIfNecessary() 211 return sync_service_->IsCryptographerReady(&trans); in CryptoReadyIfNecessary() 257 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdForTaggedNode()
|
D | typed_url_model_associator.cc | 22 : sync_service_(sync_service), in TypedUrlModelAssociator() 26 DCHECK(sync_service_); in TypedUrlModelAssociator() 61 sync_api::WriteTransaction trans(sync_service_->GetUserShare()); in AssociateModels() 218 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in SyncModelHasUserCreatedNodes() 275 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in GetSyncIdForTaggedNode() 492 sync_api::ReadTransaction trans(sync_service_->GetUserShare()); in CryptoReadyIfNecessary() 494 sync_service_->GetEncryptedDataTypes(&encrypted_types); in CryptoReadyIfNecessary() 496 sync_service_->IsCryptographerReady(&trans); in CryptoReadyIfNecessary()
|
D | bookmark_data_type_controller.cc | 41 Source<Profile>(sync_service_->profile())); in StartModels() 67 CreateBookmarkSyncComponents(sync_service_, this); in CreateSyncComponents()
|
D | theme_model_associator.h | 40 ProfileSyncService* sync_service_;
|
D | preference_data_type_controller.cc | 29 CreatePreferenceSyncComponents(sync_service_, this); in CreateSyncComponents()
|
D | session_data_type_controller.cc | 33 CreateSessionSyncComponents(sync_service_, this); in CreateSyncComponents()
|
D | theme_data_type_controller.cc | 36 profile_sync_factory_->CreateThemeSyncComponents(sync_service_, in CreateSyncComponents()
|
D | extension_data_type_controller.cc | 36 profile_sync_factory_->CreateExtensionSyncComponents(sync_service_, in CreateSyncComponents()
|
D | app_data_type_controller.cc | 36 profile_sync_factory_->CreateAppSyncComponents(sync_service_, in CreateSyncComponents()
|
D | session_model_associator.h | 290 ProfileSyncService* sync_service_; variable 404 ProfileSyncService* sync_service_; variable
|
/external/chromium/chrome/browser/sync/ |
D | profile_sync_service_session_unittest.cc | 59 ProfileSyncService* sync_service() { return sync_service_.get(); } in sync_service() 61 TestIdFactory* ids() { return sync_service_->id_factory(); } in ids() 95 sync_service_.reset(); in TearDown() 106 if (sync_service_.get()) in StartSyncService() 108 sync_service_.reset(new TestProfileSyncService( in StartSyncService() 114 new SessionModelAssociator(sync_service_.get(), in StartSyncService() 117 sync_service_.get(), model_associator_, in StartSyncService() 124 sync_service_->RegisterDataTypeController( in StartSyncService() 127 sync_service_.get())); in StartSyncService() 130 sync_service_->Initialize(); in StartSyncService() [all …]
|
/external/chromium/chrome/browser/ui/views/bookmarks/ |
D | bookmark_bar_view.cc | 349 sync_service_(NULL), in BookmarkBarView() 359 sync_service_ = profile->GetProfileSyncService(); in BookmarkBarView() 360 sync_service_->AddObserver(this); in BookmarkBarView() 382 if (sync_service_) in ~BookmarkBarView() 383 sync_service_->RemoveObserver(this); in ~BookmarkBarView() 447 if (sync_ui_util::ShouldShowSyncErrorButton(sync_service_)) in GetMinimumSize() 991 if (!throbbing_view_ && sync_service_ && sync_service_->SetupInProgress()) { in BookmarkNodeAddedImpl() 1180 DCHECK(sync_service_ && !sync_service_->IsManaged()); in ButtonPressed() 1181 sync_service_->ShowErrorUI(GetWindow()->GetNativeWindow()); in ButtonPressed() 1668 if (sync_ui_util::ShouldShowSyncErrorButton(sync_service_)) { in LayoutItems() [all …]
|
/external/chromium/chrome/browser/ui/gtk/bookmarks/ |
D | bookmark_bar_gtk.cc | 133 sync_service_(NULL), in BookmarkBarGtk() 148 sync_service_ = profile->GetProfileSyncService(); in BookmarkBarGtk() 149 sync_service_->AddObserver(this); in BookmarkBarGtk() 337 if (sync_ui_util::ShouldShowSyncErrorButton(sync_service_)) { in Show() 373 if (sync_ui_util::ShouldShowSyncErrorButton(sync_service_)) { in OnStateChanged() 1022 DCHECK(sync_service_ && !sync_service_->IsManaged()); in OnSyncErrorButtonPressed() 1023 sync_service_->ShowErrorUI(NULL); in OnSyncErrorButtonPressed() 1388 if (sync_service_) in OnEventBoxDestroy() 1389 sync_service_->RemoveObserver(this); in OnEventBoxDestroy()
|
/external/chromium/chrome/browser/profiles/ |
D | profile_impl.cc | 610 sync_service_.reset(); in ~ProfileImpl() 1190 return (sync_service_.get() != NULL); in HasProfileSyncService() 1359 if (!sync_service_.get()) { in GetProfileSyncService() 1376 if (!sync_service_.get()) in GetProfileSyncService() 1378 return sync_service_.get(); in GetProfileSyncService() 1397 sync_service_.reset( in InitSyncService() 1399 sync_service_->Initialize(); in InitSyncService()
|