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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_impl.h

Issue 56113003: Implement new invalidations ack tracking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Modify drive TODO comment + rebase Created 7 years 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 syncer::PassphraseType type, 237 syncer::PassphraseType type,
238 base::Time explicit_passphrase_time); 238 base::Time explicit_passphrase_time);
239 239
240 void HandleStopSyncingPermanentlyOnFrontendLoop(); 240 void HandleStopSyncingPermanentlyOnFrontendLoop();
241 241
242 // Dispatched to from OnConnectionStatusChange to handle updating 242 // Dispatched to from OnConnectionStatusChange to handle updating
243 // frontend UI components. 243 // frontend UI components.
244 void HandleConnectionStatusChangeOnFrontendLoop( 244 void HandleConnectionStatusChangeOnFrontendLoop(
245 syncer::ConnectionStatus status); 245 syncer::ConnectionStatus status);
246 246
247 // syncer::InvalidationHandler-like functions.
248 void HandleInvalidatorStateChangeOnFrontendLoop(
249 syncer::InvalidatorState state);
250 void HandleIncomingInvalidationOnFrontendLoop(
251 const syncer::ObjectIdInvalidationMap& invalidation_map);
252
253 // NotificationObserver implementation. 247 // NotificationObserver implementation.
254 virtual void Observe( 248 virtual void Observe(
255 int type, 249 int type,
256 const content::NotificationSource& source, 250 const content::NotificationSource& source,
257 const content::NotificationDetails& details) OVERRIDE; 251 const content::NotificationDetails& details) OVERRIDE;
258 252
259 // InvalidationHandler implementation. 253 // InvalidationHandler implementation.
260 virtual void OnInvalidatorStateChange( 254 virtual void OnInvalidatorStateChange(
261 syncer::InvalidatorState state) OVERRIDE; 255 syncer::InvalidatorState state) OVERRIDE;
262 virtual void OnIncomingInvalidation( 256 virtual void OnIncomingInvalidation(
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
317 311
318 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 312 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
319 313
320 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 314 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
321 }; 315 };
322 316
323 } // namespace browser_sync 317 } // namespace browser_sync
324 318
325 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 319 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
326 320
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698