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

Side by Side Diff: sync/internal_api/sync_manager_impl.h

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . 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 SYNC_INTERNAL_API_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 virtual bool PurgePartiallySyncedTypes() OVERRIDE; 87 virtual bool PurgePartiallySyncedTypes() OVERRIDE;
88 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; 88 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE;
89 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE; 89 virtual void UpdateEnabledTypes(ModelTypeSet enabled_types) OVERRIDE;
90 virtual void RegisterInvalidationHandler( 90 virtual void RegisterInvalidationHandler(
91 InvalidationHandler* handler) OVERRIDE; 91 InvalidationHandler* handler) OVERRIDE;
92 virtual void UpdateRegisteredInvalidationIds( 92 virtual void UpdateRegisteredInvalidationIds(
93 InvalidationHandler* handler, 93 InvalidationHandler* handler,
94 const ObjectIdSet& ids) OVERRIDE; 94 const ObjectIdSet& ids) OVERRIDE;
95 virtual void UnregisterInvalidationHandler( 95 virtual void UnregisterInvalidationHandler(
96 InvalidationHandler* handler) OVERRIDE; 96 InvalidationHandler* handler) OVERRIDE;
97 virtual void AcknowledgeInvalidation(
98 const invalidation::ObjectId& id,
99 const syncer::AckHandle& ack_handle) OVERRIDE;
97 virtual void StartSyncingNormally( 100 virtual void StartSyncingNormally(
98 const ModelSafeRoutingInfo& routing_info) OVERRIDE; 101 const ModelSafeRoutingInfo& routing_info) OVERRIDE;
99 virtual void ConfigureSyncer( 102 virtual void ConfigureSyncer(
100 ConfigureReason reason, 103 ConfigureReason reason,
101 ModelTypeSet types_to_config, 104 ModelTypeSet types_to_config,
102 const ModelSafeRoutingInfo& new_routing_info, 105 const ModelSafeRoutingInfo& new_routing_info,
103 const base::Closure& ready_task, 106 const base::Closure& ready_task,
104 const base::Closure& retry_task) OVERRIDE; 107 const base::Closure& retry_task) OVERRIDE;
105 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; 108 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE;
106 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; 109 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE;
(...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after
376 // changing passphrases, and in general handles sync-specific interactions 379 // changing passphrases, and in general handles sync-specific interactions
377 // with the cryptographer. 380 // with the cryptographer.
378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 381 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
379 382
380 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 383 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
381 }; 384 };
382 385
383 } // namespace syncer 386 } // namespace syncer
384 387
385 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 388 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698