Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(83)

Side by Side Diff: chrome/browser/sync/test_profile_sync_service.cc

Issue 11052007: Rename ModelType/ObjectIdStateMap to InvalidationMap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/sync/test_profile_sync_service.h" 5 #include "chrome/browser/sync/test_profile_sync_service.h"
6 6
7 #include "chrome/browser/signin/signin_manager.h" 7 #include "chrome/browser/signin/signin_manager.h"
8 #include "chrome/browser/sync/glue/data_type_controller.h" 8 #include "chrome/browser/sync/glue/data_type_controller.h"
9 #include "chrome/browser/sync/glue/sync_backend_host.h" 9 #include "chrome/browser/sync/glue/sync_backend_host.h"
10 #include "chrome/browser/sync/profile_sync_components_factory.h" 10 #include "chrome/browser/sync/profile_sync_components_factory.h"
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 syncer::ModelTypeFromInt(i), true); 145 syncer::ModelTypeFromInt(i), true);
146 } 146 }
147 } 147 }
148 148
149 void SyncBackendHostForProfileSyncTest::EmitOnInvalidatorStateChange( 149 void SyncBackendHostForProfileSyncTest::EmitOnInvalidatorStateChange(
150 syncer::InvalidatorState state) { 150 syncer::InvalidatorState state) {
151 frontend()->OnInvalidatorStateChange(state); 151 frontend()->OnInvalidatorStateChange(state);
152 } 152 }
153 153
154 void SyncBackendHostForProfileSyncTest::EmitOnIncomingInvalidation( 154 void SyncBackendHostForProfileSyncTest::EmitOnIncomingInvalidation(
155 const syncer::ObjectIdStateMap& id_state_map, 155 const syncer::ObjectIdInvalidationMap& invalidation_map,
156 const syncer::IncomingInvalidationSource source) { 156 const syncer::IncomingInvalidationSource source) {
157 frontend()->OnIncomingInvalidation(id_state_map, source); 157 frontend()->OnIncomingInvalidation(invalidation_map, source);
158 } 158 }
159 159
160 } // namespace browser_sync 160 } // namespace browser_sync
161 161
162 syncer::TestIdFactory* TestProfileSyncService::id_factory() { 162 syncer::TestIdFactory* TestProfileSyncService::id_factory() {
163 return &id_factory_; 163 return &id_factory_;
164 } 164 }
165 165
166 browser_sync::SyncBackendHostForProfileSyncTest* 166 browser_sync::SyncBackendHostForProfileSyncTest*
167 TestProfileSyncService::GetBackendForTest() { 167 TestProfileSyncService::GetBackendForTest() {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 profile(), 234 profile(),
235 sync_prefs_.AsWeakPtr(), 235 sync_prefs_.AsWeakPtr(),
236 invalidator_storage_.AsWeakPtr(), 236 invalidator_storage_.AsWeakPtr(),
237 id_factory_, 237 id_factory_,
238 callback_, 238 callback_,
239 set_initial_sync_ended_on_init_, 239 set_initial_sync_ended_on_init_,
240 synchronous_backend_initialization_, 240 synchronous_backend_initialization_,
241 fail_initial_download_, 241 fail_initial_download_,
242 storage_option_)); 242 storage_option_));
243 } 243 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/test_profile_sync_service.h ('k') | sync/engine/download_updates_command.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698