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

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

Issue 322333004: sync: Inject sync/'s dependency on invalidations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 5 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 ConfigureReason reason, 97 ConfigureReason reason,
98 ModelTypeSet to_download, 98 ModelTypeSet to_download,
99 ModelTypeSet to_purge, 99 ModelTypeSet to_purge,
100 ModelTypeSet to_journal, 100 ModelTypeSet to_journal,
101 ModelTypeSet to_unapply, 101 ModelTypeSet to_unapply,
102 const ModelSafeRoutingInfo& new_routing_info, 102 const ModelSafeRoutingInfo& new_routing_info,
103 const base::Closure& ready_task, 103 const base::Closure& ready_task,
104 const base::Closure& retry_task) OVERRIDE; 104 const base::Closure& retry_task) OVERRIDE;
105 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; 105 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE;
106 virtual void OnIncomingInvalidation( 106 virtual void OnIncomingInvalidation(
107 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 107 syncer::ModelType type,
108 virtual std::string GetOwnerName() const OVERRIDE; 108 scoped_ptr<InvalidationInterface> invalidation) OVERRIDE;
109 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; 109 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE;
110 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; 110 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE;
111 virtual SyncStatus GetDetailedStatus() const OVERRIDE; 111 virtual SyncStatus GetDetailedStatus() const OVERRIDE;
112 virtual void SaveChanges() OVERRIDE; 112 virtual void SaveChanges() OVERRIDE;
113 virtual void ShutdownOnSyncThread() OVERRIDE; 113 virtual void ShutdownOnSyncThread() OVERRIDE;
114 virtual UserShare* GetUserShare() OVERRIDE; 114 virtual UserShare* GetUserShare() OVERRIDE;
115 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE; 115 virtual syncer::SyncContextProxy* GetSyncContextProxy() OVERRIDE;
116 virtual const std::string cache_guid() OVERRIDE; 116 virtual const std::string cache_guid() OVERRIDE;
117 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; 117 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
118 virtual bool HasUnsyncedItems() OVERRIDE; 118 virtual bool HasUnsyncedItems() OVERRIDE;
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 364 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
365 365
366 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 366 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
367 367
368 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 368 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
369 }; 369 };
370 370
371 } // namespace syncer 371 } // namespace syncer
372 372
373 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 373 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_
OLDNEW
« no previous file with comments | « sync/internal_api/public/test/fake_sync_manager.h ('k') | sync/internal_api/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698