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

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

Issue 10837214: Refactor ModelTypePayloadMap and ObjectIdPayloadMap to StateMaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit test Created 8 years, 3 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 256
257 // Whether sync is enabled by user or not. 257 // Whether sync is enabled by user or not.
258 virtual bool HasSyncSetupCompleted() const; 258 virtual bool HasSyncSetupCompleted() const;
259 virtual void SetSyncSetupCompleted(); 259 virtual void SetSyncSetupCompleted();
260 260
261 // syncer::SyncNotifier implementation (via SyncFrontend). 261 // syncer::SyncNotifier implementation (via SyncFrontend).
262 virtual void OnNotificationsEnabled() OVERRIDE; 262 virtual void OnNotificationsEnabled() OVERRIDE;
263 virtual void OnNotificationsDisabled( 263 virtual void OnNotificationsDisabled(
264 syncer::NotificationsDisabledReason reason) OVERRIDE; 264 syncer::NotificationsDisabledReason reason) OVERRIDE;
265 virtual void OnIncomingNotification( 265 virtual void OnIncomingNotification(
266 const syncer::ObjectIdPayloadMap& id_payloads, 266 const syncer::ObjectIdStateMap& id_state_map,
267 syncer::IncomingNotificationSource source) OVERRIDE; 267 syncer::IncomingNotificationSource source) OVERRIDE;
268 268
269 // SyncFrontend implementation. 269 // SyncFrontend implementation.
270 virtual void OnBackendInitialized( 270 virtual void OnBackendInitialized(
271 const syncer::WeakHandle<syncer::JsBackend>& js_backend, 271 const syncer::WeakHandle<syncer::JsBackend>& js_backend,
272 bool success) OVERRIDE; 272 bool success) OVERRIDE;
273 virtual void OnSyncCycleCompleted() OVERRIDE; 273 virtual void OnSyncCycleCompleted() OVERRIDE;
274 virtual void OnSyncConfigureRetry() OVERRIDE; 274 virtual void OnSyncConfigureRetry() OVERRIDE;
275 virtual void OnConnectionStatusChange( 275 virtual void OnConnectionStatusChange(
276 syncer::ConnectionStatus status) OVERRIDE; 276 syncer::ConnectionStatus status) OVERRIDE;
(...skipping 617 matching lines...) Expand 10 before | Expand all | Expand 10 after
894 syncer::SyncNotifierRegistrar notifier_registrar_; 894 syncer::SyncNotifierRegistrar notifier_registrar_;
895 895
896 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService); 896 DISALLOW_COPY_AND_ASSIGN(ProfileSyncService);
897 }; 897 };
898 898
899 bool ShouldShowActionOnUI( 899 bool ShouldShowActionOnUI(
900 const syncer::SyncProtocolError& error); 900 const syncer::SyncProtocolError& error);
901 901
902 902
903 #endif // CHROME_BROWSER_SYNC_PROFILE_SYNC_SERVICE_H_ 903 #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