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

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

Issue 159773006: [invalidations] Added table with registered objectsIds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@about_invalidations_clean
Patch Set: Change constness of iterators for android clang Created 6 years, 10 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
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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 ModelTypeSet to_download, 96 ModelTypeSet to_download,
97 ModelTypeSet to_purge, 97 ModelTypeSet to_purge,
98 ModelTypeSet to_journal, 98 ModelTypeSet to_journal,
99 ModelTypeSet to_unapply, 99 ModelTypeSet to_unapply,
100 const ModelSafeRoutingInfo& new_routing_info, 100 const ModelSafeRoutingInfo& new_routing_info,
101 const base::Closure& ready_task, 101 const base::Closure& ready_task,
102 const base::Closure& retry_task) OVERRIDE; 102 const base::Closure& retry_task) OVERRIDE;
103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE; 103 virtual void OnInvalidatorStateChange(InvalidatorState state) OVERRIDE;
104 virtual void OnIncomingInvalidation( 104 virtual void OnIncomingInvalidation(
105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE; 105 const ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
106 virtual std::string GetOwnerName() const OVERRIDE;
106 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE; 107 virtual void AddObserver(SyncManager::Observer* observer) OVERRIDE;
107 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE; 108 virtual void RemoveObserver(SyncManager::Observer* observer) OVERRIDE;
108 virtual SyncStatus GetDetailedStatus() const OVERRIDE; 109 virtual SyncStatus GetDetailedStatus() const OVERRIDE;
109 virtual void SaveChanges() OVERRIDE; 110 virtual void SaveChanges() OVERRIDE;
110 virtual void ShutdownOnSyncThread() OVERRIDE; 111 virtual void ShutdownOnSyncThread() OVERRIDE;
111 virtual UserShare* GetUserShare() OVERRIDE; 112 virtual UserShare* GetUserShare() OVERRIDE;
112 virtual const std::string cache_guid() OVERRIDE; 113 virtual const std::string cache_guid() OVERRIDE;
113 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE; 114 virtual bool ReceivedExperiment(Experiments* experiments) OVERRIDE;
114 virtual bool HasUnsyncedItems() OVERRIDE; 115 virtual bool HasUnsyncedItems() OVERRIDE;
115 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE; 116 virtual SyncEncryptionHandler* GetEncryptionHandler() OVERRIDE;
(...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
378 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 379 scoped_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
379 380
380 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 381 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
381 382
382 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 383 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
383 }; 384 };
384 385
385 } // namespace syncer 386 } // namespace syncer
386 387
387 #endif // SYNC_INTERNAL_API_SYNC_MANAGER_H_ 388 #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