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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_impl.h

Issue 224563004: sync: Re-implement getAllNodes WebUI function (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comment fix Created 6 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 virtual bool IsNigoriEnabled() const OVERRIDE; 119 virtual bool IsNigoriEnabled() const OVERRIDE;
120 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE; 120 virtual syncer::PassphraseType GetPassphraseType() const OVERRIDE;
121 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE; 121 virtual base::Time GetExplicitPassphraseTime() const OVERRIDE;
122 virtual bool IsCryptographerReady( 122 virtual bool IsCryptographerReady(
123 const syncer::BaseTransaction* trans) const OVERRIDE; 123 const syncer::BaseTransaction* trans) const OVERRIDE;
124 virtual void GetModelSafeRoutingInfo( 124 virtual void GetModelSafeRoutingInfo(
125 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; 125 syncer::ModelSafeRoutingInfo* out) const OVERRIDE;
126 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; 126 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE;
127 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; 127 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE;
128 virtual void DisableProtocolEventForwarding() OVERRIDE; 128 virtual void DisableProtocolEventForwarding() OVERRIDE;
129 virtual void GetAllNodesForTypes(
130 syncer::ModelTypeSet types,
131 base::Callback<void(const std::vector<syncer::ModelType>&,
132 ScopedVector<base::ListValue>)> type) OVERRIDE;
129 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; 133 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE;
130 134
131 protected: 135 protected:
132 // The types and functions below are protected so that test 136 // The types and functions below are protected so that test
133 // subclasses can use them. 137 // subclasses can use them.
134 138
135 // Allows tests to perform alternate core initialization work. 139 // Allows tests to perform alternate core initialization work.
136 virtual void InitCore(scoped_ptr<DoInitializeOptions> options); 140 virtual void InitCore(scoped_ptr<DoInitializeOptions> options);
137 141
138 // Request the syncer to reconfigure with the specfied params. 142 // Request the syncer to reconfigure with the specfied params.
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 330
327 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_; 331 base::WeakPtrFactory<SyncBackendHostImpl> weak_ptr_factory_;
328 332
329 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl); 333 DISALLOW_COPY_AND_ASSIGN(SyncBackendHostImpl);
330 }; 334 };
331 335
332 } // namespace browser_sync 336 } // namespace browser_sync
333 337
334 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_ 338 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_IMPL_H_
335 339
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_core.cc ('k') | chrome/browser/sync/glue/sync_backend_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698