model_associator_ 109 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->Disassociate(sync_node->GetId()); model_associator_ 120 chrome/browser/sync/glue/bookmark_change_processor.cc if (!model_associator_->InitSyncNodeFromChromeId(topmost->id(), model_associator_ 147 chrome/browser/sync/glue/bookmark_change_processor.cc if (model_associator_->GetSyncIdFromChromeId(mobile_bookmark_id) != model_associator_ 161 chrome/browser/sync/glue/bookmark_change_processor.cc if (!model_associator_->InitSyncNodeFromChromeId(topmost_node_id, model_associator_ 229 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_, error_handler()); model_associator_ 296 chrome/browser/sync/glue/bookmark_change_processor.cc if (!model_associator_->InitSyncNodeFromChromeId(node->id(), &sync_node)) { model_associator_ 298 chrome/browser/sync/glue/bookmark_change_processor.cc if (model_associator_->GetSyncIdFromChromeId(node->id()) == model_associator_ 351 chrome/browser/sync/glue/bookmark_change_processor.cc DCHECK_EQ(model_associator_->GetChromeNodeFromSyncId( model_associator_ 383 chrome/browser/sync/glue/bookmark_change_processor.cc if (!model_associator_->InitSyncNodeFromChromeId(child->id(), &sync_node)) { model_associator_ 390 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_)) { model_associator_ 422 chrome/browser/sync/glue/bookmark_change_processor.cc if (!model_associator_->InitSyncNodeFromChromeId(child->id(), model_associator_ 429 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->GetSyncIdFromChromeId(node->id())); model_associator_ 432 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_)) { model_associator_ 537 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->GetChromeNodeFromSyncId(it->id); model_associator_ 568 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->Disassociate(it->id); model_associator_ 589 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->GetChromeNodeFromSyncId(it->id); model_associator_ 605 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->Associate(model->mobile_node(), it->id); model_associator_ 620 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->GetChromeNodeFromSyncId(src.GetParentId()); model_associator_ 652 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->Associate(dst, src.GetId()); model_associator_ 678 chrome/browser/sync/glue/bookmark_change_processor.cc model_associator_->UpdatePermanentNodeVisibility(); model_associator_ 200 chrome/browser/sync/glue/bookmark_change_processor.h BookmarkModelAssociator* model_associator_; model_associator_ 82 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc model_associator_ = new ModelAssociatorMock(); model_associator_ 88 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc new ProfileSyncComponentsFactoryMock(model_associator_, model_associator_ 121 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 124 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 126 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 133 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, DisassociateModels()). model_associator_ 154 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc ModelAssociatorMock* model_associator_; model_associator_ 220 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 243 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 255 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 257 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 259 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 277 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 279 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 319 chrome/browser/sync/glue/bookmark_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 290 chrome/browser/sync/glue/frontend_data_type_controller.cc return model_associator_.get(); model_associator_ 295 chrome/browser/sync/glue/frontend_data_type_controller.cc model_associator_.reset(model_associator); model_associator_ 119 chrome/browser/sync/glue/frontend_data_type_controller.h scoped_ptr<AssociatorInterface> model_associator_; model_associator_ 58 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc model_associator_.reset(sync_components.model_associator); model_associator_ 107 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc model_associator_ = new ModelAssociatorMock(); model_associator_ 111 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc model_associator_, change_processor_))); model_associator_ 115 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 117 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 119 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 132 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, DisassociateModels()). model_associator_ 164 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc ModelAssociatorMock* model_associator_; model_associator_ 181 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 183 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 185 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 209 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 211 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 213 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 232 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 234 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 245 chrome/browser/sync/glue/frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 47 chrome/browser/sync/glue/non_frontend_data_type_controller.cc scoped_ptr<AssociatorInterface> model_associator_; model_associator_ 63 chrome/browser/sync/glue/non_frontend_data_type_controller.cc if (model_associator_) model_associator_ 64 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_->DisassociateModels(); model_associator_ 83 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_.reset(sync_components.model_associator); model_associator_ 89 chrome/browser/sync/glue/non_frontend_data_type_controller.cc CHECK(model_associator_); model_associator_ 94 chrome/browser/sync/glue/non_frontend_data_type_controller.cc if (!model_associator_->CryptoReadyIfNecessary()) { model_associator_ 99 chrome/browser/sync/glue/non_frontend_data_type_controller.cc if (!model_associator_->SyncModelHasUserCreatedNodes( model_associator_ 107 chrome/browser/sync/glue/non_frontend_data_type_controller.cc result.error = model_associator_->AssociateModels( model_associator_ 114 chrome/browser/sync/glue/non_frontend_data_type_controller.cc result.model_associator = model_associator_.get(); model_associator_ 124 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_->DisassociateModels(); model_associator_ 126 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_.reset(); model_associator_ 141 chrome/browser/sync/glue/non_frontend_data_type_controller.cc if (model_associator_) model_associator_ 142 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_->AbortAssociation(); model_associator_ 170 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_(NULL), model_associator_ 271 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_ = NULL; model_associator_ 313 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_(NULL), model_associator_ 321 chrome/browser/sync/glue/non_frontend_data_type_controller.cc DCHECK(!model_associator_); model_associator_ 429 chrome/browser/sync/glue/non_frontend_data_type_controller.cc return model_associator_; model_associator_ 465 chrome/browser/sync/glue/non_frontend_data_type_controller.cc model_associator_ = result.model_associator; model_associator_ 180 chrome/browser/sync/glue/non_frontend_data_type_controller.h AssociatorInterface* model_associator_; model_associator_ 118 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc model_associator_(NULL), model_associator_ 147 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc model_associator_ = new ModelAssociatorMock(); model_associator_ 151 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc model_associator_, change_processor_))); model_associator_ 155 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 157 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 159 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 172 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, DisassociateModels()). model_associator_ 179 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc if (model_associator_) { model_associator_ 180 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, DisassociateModels()). model_associator_ 219 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc ModelAssociatorMock* model_associator_; model_associator_ 238 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 240 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 242 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 255 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 257 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 259 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 279 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 281 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 293 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 308 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 310 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 316 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AbortAssociation()).WillOnce( model_associator_ 318 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 338 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, CryptoReadyIfNecessary()). model_associator_ 340 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, SyncModelHasUserCreatedNodes(_)). model_associator_ 344 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AbortAssociation()); model_associator_ 345 chrome/browser/sync/glue/non_frontend_data_type_controller_unittest.cc EXPECT_CALL(*model_associator_, AssociateModels(_, _)). model_associator_ 34 chrome/browser/sync/glue/session_data_type_controller.cc return reinterpret_cast<SessionModelAssociator*>(model_associator_.get()); model_associator_ 47 chrome/browser/sync/glue/session_model_associator_unittest.cc model_associator_.LoadForeignTabFavicon(tab); model_associator_ 67 chrome/browser/sync/glue/session_model_associator_unittest.cc FaviconCache* cache = model_associator_.GetFaviconCache(); model_associator_ 88 chrome/browser/sync/glue/session_model_associator_unittest.cc SessionModelAssociator model_associator_; model_associator_ 226 chrome/browser/sync/glue/session_model_associator_unittest.cc model_associator_.AttemptSessionsDataRefresh(); model_associator_ 241 chrome/browser/sync/glue/session_model_associator_unittest.cc EXPECT_FALSE(model_associator_.ShouldSyncTab(tab_mock)); model_associator_ 252 chrome/browser/sync/glue/session_model_associator_unittest.cc EXPECT_FALSE(model_associator_.ShouldSyncTab(tab_mock)); model_associator_ 265 chrome/browser/sync/glue/session_model_associator_unittest.cc EXPECT_FALSE(model_associator_.ShouldSyncTab(tab_mock)); model_associator_ 281 chrome/browser/sync/glue/session_model_associator_unittest.cc EXPECT_TRUE(model_associator_.ShouldSyncTab(tab_mock)); model_associator_ 45 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_(model_associator), model_associator_ 86 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->GetErrorPercentage()); model_associator_ 108 chrome/browser/sync/glue/typed_url_change_processor.cc if (!model_associator_->FixupURLAndGetVisits(&url, &visit_vector)) { model_associator_ 122 chrome/browser/sync/glue/typed_url_change_processor.cc if (model_associator_->ShouldIgnoreUrl(url.url())) model_associator_ 131 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->WriteToSyncNode(url, visit_vector, &update_node); model_associator_ 178 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->WriteToSyncNode(url, visit_vector, &create_node); model_associator_ 196 chrome/browser/sync/glue/typed_url_change_processor.cc if (!model_associator_->DeleteAllNodes(&trans)) { model_associator_ 292 chrome/browser/sync/glue/typed_url_change_processor.cc if (model_associator_->ShouldIgnoreUrl(GURL(typed_url.url()))) model_associator_ 296 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->FilterExpiredVisits(typed_url); model_associator_ 301 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->UpdateFromSyncDB( model_associator_ 320 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->WriteToHistoryBackend(&pending_new_urls_, model_associator_ 331 chrome/browser/sync/glue/typed_url_change_processor.cc model_associator_->GetErrorPercentage()); model_associator_ 101 chrome/browser/sync/glue/typed_url_change_processor.h TypedUrlModelAssociator* model_associator_; model_associator_ 18 chrome/browser/sync/profile_sync_components_factory_mock.cc : model_associator_(model_associator), model_associator_ 31 chrome/browser/sync/profile_sync_components_factory_mock.cc return SyncComponents(model_associator_.release(), model_associator_ 75 chrome/browser/sync/profile_sync_components_factory_mock.h scoped_ptr<browser_sync::AssociatorInterface> model_associator_; model_associator_ 349 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_FALSE(model_associator_); model_associator_ 374 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_FALSE(model_associator_); model_associator_ 480 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc DCHECK(!model_associator_); model_associator_ 483 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_.reset(new BookmarkModelAssociator( model_associator_ 495 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncError error = model_associator_->AssociateModels( model_associator_ 531 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc new BookmarkChangeProcessor(model_associator_.get(), model_associator_ 538 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc if (model_associator_) { model_associator_ 539 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc syncer::SyncError error = model_associator_->DisassociateModels(); model_associator_ 542 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_.reset(); model_associator_ 559 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc return model_associator_->InitSyncNodeFromChromeId(bnode->id(), model_associator_ 576 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(gnode.GetParentId()), model_associator_ 634 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(sync_id); model_associator_ 636 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 id = model_associator_->GetSyncIdFromChromeId(bnode->id()); model_associator_ 642 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_FALSE(model_associator_->GetChromeNodeFromSyncId(sync_id)); model_associator_ 646 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc EXPECT_TRUE(model_associator_->GetChromeNodeFromSyncId(sync_id)); model_associator_ 650 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); model_associator_ 655 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc int64 sync_id = model_associator_->GetSyncIdFromChromeId(node->id()); model_associator_ 661 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(sync_id); model_associator_ 668 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(sync_id); model_associator_ 675 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(sync_id); model_associator_ 678 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetChromeNodeFromSyncId(parent_sync_id); model_associator_ 713 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetSyncIdFromChromeId(model_->mobile_node()->id()); model_associator_ 718 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_->GetSyncIdFromChromeId(model_->other_node()->id()); model_associator_ 722 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc return model_associator_->GetSyncIdFromChromeId( model_associator_ 731 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc scoped_ptr<BookmarkModelAssociator> model_associator_; model_associator_ 1848 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc model_associator_.reset(); model_associator_ 2031 chrome/browser/sync/profile_sync_service_bookmark_unittest.cc ASSERT_TRUE(model_associator_->InitSyncNodeFromChromeId(it->first, model_associator_ 246 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_ = model_associator_ 250 chrome/browser/sync/profile_sync_service_session_unittest.cc dtc, model_associator_, model_associator_ 254 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_, change_processor_))); model_associator_ 268 chrome/browser/sync/profile_sync_service_session_unittest.cc SessionModelAssociator* model_associator_; model_associator_ 311 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 313 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string machine_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 314 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); model_associator_ 348 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 355 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 357 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string machine_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 358 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); model_associator_ 363 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 369 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_map_; model_associator_ 401 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 413 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 417 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 422 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 444 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 448 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 453 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 469 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 473 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 478 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 494 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 498 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 503 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 513 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 517 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 526 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 530 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 554 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 557 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 561 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 594 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 598 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 603 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 608 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 619 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 623 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 636 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 node_id = model_associator_->GetSyncIdFromSessionTag( model_associator_ 637 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->GetCurrentMachineTag()); model_associator_ 655 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 node_id = model_associator_->GetSyncIdFromSessionTag( model_associator_ 656 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->GetCurrentMachineTag()); model_associator_ 674 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 node_id = model_associator_->GetSyncIdFromSessionTag( model_associator_ 675 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->GetCurrentMachineTag()); model_associator_ 695 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(0U, model_associator_->local_tab_pool_.Capacity()); model_associator_ 696 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Empty()); model_associator_ 697 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Full()); model_associator_ 700 chrome/browser/sync/profile_sync_service_session_unittest.cc int id = model_associator_->local_tab_pool_.GetFreeTabNode(); model_associator_ 704 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.AssociateTabNode(id, i + 1); model_associator_ 706 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(num_ids, model_associator_->local_tab_pool_.Capacity()); model_associator_ 707 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Empty()); model_associator_ 708 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->local_tab_pool_.Full()); model_associator_ 710 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.FreeTabNode(node_ids[i]); model_associator_ 712 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(num_ids, model_associator_->local_tab_pool_.Capacity()); model_associator_ 713 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->local_tab_pool_.Empty()); model_associator_ 714 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Full()); model_associator_ 726 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.AddTabNode(node_id); model_associator_ 727 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.AssociateTabNode(node_id, i); model_associator_ 728 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.FreeTabNode(node_id); model_associator_ 732 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(num_starting_nodes, model_associator_->local_tab_pool_.Capacity()); model_associator_ 733 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->local_tab_pool_.Empty()); model_associator_ 734 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Full()); model_associator_ 737 chrome/browser/sync/profile_sync_service_session_unittest.cc int id = model_associator_->local_tab_pool_.GetFreeTabNode(); model_associator_ 741 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.AssociateTabNode(id, i + 1); model_associator_ 743 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(num_ids, model_associator_->local_tab_pool_.Capacity()); model_associator_ 744 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Empty()); model_associator_ 745 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->local_tab_pool_.Full()); model_associator_ 747 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.FreeTabNode(node_ids[i]); model_associator_ 749 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_EQ(num_ids, model_associator_->local_tab_pool_.Capacity()); model_associator_ 750 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->local_tab_pool_.Empty()); model_associator_ 751 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->local_tab_pool_.Full()); model_associator_ 762 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 770 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 772 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->DeleteForeignSession(tag); model_associator_ 773 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 786 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 790 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, base::Time()); model_associator_ 794 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 802 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->DeleteForeignSession(tag); model_associator_ 803 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 842 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, tag1_time); model_associator_ 845 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, tag1_time); model_associator_ 847 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta2, tag2_time); model_associator_ 850 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, tag2_time); model_associator_ 855 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 859 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->DeleteStaleSessions(); model_associator_ 860 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 883 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, stale_time); model_associator_ 886 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(*iter, stale_time); model_associator_ 890 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tabs1[0], base::Time::Now()); model_associator_ 894 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 898 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->DeleteStaleSessions(); model_associator_ 899 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 929 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_map_; model_associator_ 949 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 951 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AttemptSessionsDataRefresh(); model_associator_ 955 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 969 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->SyncModelHasUserCreatedNodes(&has_nodes)); model_associator_ 972 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string machine_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 973 chrome/browser/sync/profile_sync_service_session_unittest.cc int64 sync_id = model_associator_->GetSyncIdFromSessionTag(machine_tag); model_associator_ 978 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetAllForeignSessions(&foreign_sessions)); model_associator_ 984 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_map_; model_associator_ 1010 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string local_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 1012 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1028 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL); model_associator_ 1040 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string local_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 1042 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1059 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL); model_associator_ 1072 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1090 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL); model_associator_ 1101 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string local_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 1104 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1118 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL); model_associator_ 1145 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(meta, base::Time()); model_associator_ 1146 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); model_associator_ 1148 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_FALSE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon)); model_associator_ 1154 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); model_associator_ 1156 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon)); model_associator_ 1165 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->AssociateForeignSpecifics(tab, base::Time()); model_associator_ 1167 chrome/browser/sync/profile_sync_service_session_unittest.cc ASSERT_TRUE(model_associator_->GetSyncedFaviconForPageURL(url, &favicon)); model_associator_ 1177 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string local_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 1180 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1193 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL); model_associator_ 1206 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1228 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1232 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1237 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1242 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1246 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1249 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->AssociateWindows(true, &error)); model_associator_ 1266 chrome/browser/sync/profile_sync_service_session_unittest.cc int sync_id = model_associator_->local_tab_pool_.GetFreeTabNode(); model_associator_ 1267 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.AssociateTabNode(sync_id, i); model_associator_ 1276 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.FreeTabNode(used_sync_ids[i]); model_associator_ 1280 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_FALSE(model_associator_->local_tab_pool_.Full()); model_associator_ 1281 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_FALSE(model_associator_->local_tab_pool_.Empty()); model_associator_ 1284 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.Capacity()); model_associator_ 1288 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.FreeTabNode(last_sync_id); model_associator_ 1289 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_FALSE(model_associator_->local_tab_pool_.Empty()); model_associator_ 1290 chrome/browser/sync/profile_sync_service_session_unittest.cc EXPECT_TRUE(model_associator_->local_tab_pool_.Full()); model_associator_ 1292 chrome/browser/sync/profile_sync_service_session_unittest.cc model_associator_->local_tab_pool_.Capacity()); model_associator_ 1298 chrome/browser/sync/profile_sync_service_session_unittest.cc std::string local_tag = model_associator_->GetCurrentMachineTag(); model_associator_ 1302 chrome/browser/sync/profile_sync_service_session_unittest.cc int tab_node_id = model_associator_->local_tab_pool_.GetFreeTabNode(); model_associator_ 1318 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->DisassociateModels(); model_associator_ 1320 chrome/browser/sync/profile_sync_service_session_unittest.cc error = model_associator_->AssociateModels(NULL, NULL);