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

Side by Side Diff: sync/internal_api/public/test/fake_sync_manager.h

Issue 10911084: Implement Invalidator::Acknowledge (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adapt patch to new TickClock interface Created 7 years, 9 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
« no previous file with comments | « sync/internal_api/public/sync_manager.h ('k') | sync/internal_api/sync_manager_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 5 #ifndef SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 6 #define SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 virtual bool PurgePartiallySyncedTypes() OVERRIDE; 95 virtual bool PurgePartiallySyncedTypes() OVERRIDE;
96 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE; 96 virtual void UpdateCredentials(const SyncCredentials& credentials) OVERRIDE;
97 virtual void UpdateEnabledTypes(ModelTypeSet types) OVERRIDE; 97 virtual void UpdateEnabledTypes(ModelTypeSet types) OVERRIDE;
98 virtual void RegisterInvalidationHandler( 98 virtual void RegisterInvalidationHandler(
99 InvalidationHandler* handler) OVERRIDE; 99 InvalidationHandler* handler) OVERRIDE;
100 virtual void UpdateRegisteredInvalidationIds( 100 virtual void UpdateRegisteredInvalidationIds(
101 InvalidationHandler* handler, 101 InvalidationHandler* handler,
102 const ObjectIdSet& ids) OVERRIDE; 102 const ObjectIdSet& ids) OVERRIDE;
103 virtual void UnregisterInvalidationHandler( 103 virtual void UnregisterInvalidationHandler(
104 InvalidationHandler* handler) OVERRIDE; 104 InvalidationHandler* handler) OVERRIDE;
105 virtual void AcknowledgeInvalidation(
106 const invalidation::ObjectId& id,
107 const syncer::AckHandle& ack_handle) OVERRIDE;
105 virtual void StartSyncingNormally( 108 virtual void StartSyncingNormally(
106 const ModelSafeRoutingInfo& routing_info) OVERRIDE; 109 const ModelSafeRoutingInfo& routing_info) OVERRIDE;
107 virtual void ConfigureSyncer( 110 virtual void ConfigureSyncer(
108 ConfigureReason reason, 111 ConfigureReason reason,
109 ModelTypeSet types_to_config, 112 ModelTypeSet types_to_config,
110 ModelTypeSet failed_types, 113 ModelTypeSet failed_types,
111 const ModelSafeRoutingInfo& new_routing_info, 114 const ModelSafeRoutingInfo& new_routing_info,
112 const base::Closure& ready_task, 115 const base::Closure& ready_task,
113 const base::Closure& retry_task) OVERRIDE; 116 const base::Closure& retry_task) OVERRIDE;
114 virtual void AddObserver(Observer* observer) OVERRIDE; 117 virtual void AddObserver(Observer* observer) OVERRIDE;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_; 160 scoped_ptr<FakeSyncEncryptionHandler> fake_encryption_handler_;
158 161
159 TestUserShare test_user_share_; 162 TestUserShare test_user_share_;
160 163
161 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager); 164 DISALLOW_COPY_AND_ASSIGN(FakeSyncManager);
162 }; 165 };
163 166
164 } // namespace syncer 167 } // namespace syncer
165 168
166 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_ 169 #endif // SYNC_INTERNAL_API_PUBLIC_TEST_FAKE_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/sync_manager.h ('k') | sync/internal_api/sync_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698