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

Side by Side Diff: components/sync/core_impl/sync_manager_impl.h

Issue 2276943006: [USS] Move GetAllNodes from backend to controller (Closed)
Patch Set: update for Max Created 4 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
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 COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_
6 #define COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ 6 #define COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 void ShutdownOnSyncThread(ShutdownReason reason) override; 94 void ShutdownOnSyncThread(ShutdownReason reason) override;
95 UserShare* GetUserShare() override; 95 UserShare* GetUserShare() override;
96 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy() 96 std::unique_ptr<syncer_v2::ModelTypeConnector> GetModelTypeConnectorProxy()
97 override; 97 override;
98 const std::string cache_guid() override; 98 const std::string cache_guid() override;
99 bool ReceivedExperiment(Experiments* experiments) override; 99 bool ReceivedExperiment(Experiments* experiments) override;
100 bool HasUnsyncedItems() override; 100 bool HasUnsyncedItems() override;
101 SyncEncryptionHandler* GetEncryptionHandler() override; 101 SyncEncryptionHandler* GetEncryptionHandler() override;
102 std::vector<std::unique_ptr<ProtocolEvent>> GetBufferedProtocolEvents() 102 std::vector<std::unique_ptr<ProtocolEvent>> GetBufferedProtocolEvents()
103 override; 103 override;
104 std::unique_ptr<base::ListValue> GetAllNodesForType(
105 syncer::ModelType type) override;
106 void RegisterDirectoryTypeDebugInfoObserver( 104 void RegisterDirectoryTypeDebugInfoObserver(
107 syncer::TypeDebugInfoObserver* observer) override; 105 syncer::TypeDebugInfoObserver* observer) override;
108 void UnregisterDirectoryTypeDebugInfoObserver( 106 void UnregisterDirectoryTypeDebugInfoObserver(
109 syncer::TypeDebugInfoObserver* observer) override; 107 syncer::TypeDebugInfoObserver* observer) override;
110 bool HasDirectoryTypeDebugInfoObserver( 108 bool HasDirectoryTypeDebugInfoObserver(
111 syncer::TypeDebugInfoObserver* observer) override; 109 syncer::TypeDebugInfoObserver* observer) override;
112 void RequestEmitDebugInfo() override; 110 void RequestEmitDebugInfo() override;
113 void ClearServerData(const ClearServerDataCallback& callback) override; 111 void ClearServerData(const ClearServerDataCallback& callback) override;
114 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override; 112 void OnCookieJarChanged(bool account_mismatch, bool empty_jar) override;
115 113
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_; 334 std::unique_ptr<SyncEncryptionHandlerImpl> sync_encryption_handler_;
337 335
338 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_; 336 base::WeakPtrFactory<SyncManagerImpl> weak_ptr_factory_;
339 337
340 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl); 338 DISALLOW_COPY_AND_ASSIGN(SyncManagerImpl);
341 }; 339 };
342 340
343 } // namespace syncer 341 } // namespace syncer
344 342
345 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_ 343 #endif // COMPONENTS_SYNC_CORE_IMPL_SYNC_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/core/test/fake_sync_manager.h ('k') | components/sync/core_impl/sync_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698