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

Side by Side Diff: chrome/browser/sync/profile_sync_service.h

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 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
7 7
8 #include <list> 8 #include <list>
9 #include <string> 9 #include <string>
10 10
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after
262 void GetDataTypeControllerStates( 262 void GetDataTypeControllerStates(
263 browser_sync::DataTypeController::StateMap* state_map) const; 263 browser_sync::DataTypeController::StateMap* state_map) const;
264 264
265 // Disables sync for user. Use ShowLoginDialog to enable. 265 // Disables sync for user. Use ShowLoginDialog to enable.
266 virtual void DisableForUser(); 266 virtual void DisableForUser();
267 267
268 // syncer::InvalidationHandler implementation (via SyncFrontend). 268 // syncer::InvalidationHandler implementation (via SyncFrontend).
269 virtual void OnInvalidatorStateChange( 269 virtual void OnInvalidatorStateChange(
270 syncer::InvalidatorState state) OVERRIDE; 270 syncer::InvalidatorState state) OVERRIDE;
271 virtual void OnIncomingInvalidation( 271 virtual void OnIncomingInvalidation(
272 const syncer::ObjectIdStateMap& id_state_map, 272 const syncer::ObjectIdInvalidationMap& invalidation_map,
273 syncer::IncomingInvalidationSource source) OVERRIDE; 273 syncer::IncomingInvalidationSource source) OVERRIDE;
274 274
275 // SyncFrontend implementation. 275 // SyncFrontend implementation.
276 virtual void OnBackendInitialized( 276 virtual void OnBackendInitialized(
277 const syncer::WeakHandle<syncer::JsBackend>& js_backend, 277 const syncer::WeakHandle<syncer::JsBackend>& js_backend,
278 bool success) OVERRIDE; 278 bool success) OVERRIDE;
279 virtual void OnSyncCycleCompleted() OVERRIDE; 279 virtual void OnSyncCycleCompleted() OVERRIDE;
280 virtual void OnSyncConfigureRetry() OVERRIDE; 280 virtual void OnSyncConfigureRetry() OVERRIDE;
281 virtual void OnConnectionStatusChange( 281 virtual void OnConnectionStatusChange(
282 syncer::ConnectionStatus status) OVERRIDE; 282 syncer::ConnectionStatus status) OVERRIDE;
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 syncer::InvalidatorRegistrar invalidator_registrar_; 845 syncer::InvalidatorRegistrar invalidator_registrar_;
846 846
847 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 847 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
848 }; 848 };
849 849
850 bool ShouldShowActionOnUI( 850 bool ShouldShowActionOnUI(
851 const syncer::SyncProtocolError& error); 851 const syncer::SyncProtocolError& error);
852 852
853 853
854 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 854 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_unittest.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698