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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host.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 (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 CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 194
195 // Requests that the backend forward to the fronent any protocol events in 195 // Requests that the backend forward to the fronent any protocol events in
196 // its buffer and begin forwarding automatically from now on. Repeated calls 196 // its buffer and begin forwarding automatically from now on. Repeated calls
197 // to this function may result in the same events being emitted several 197 // to this function may result in the same events being emitted several
198 // times. 198 // times.
199 virtual void RequestBufferedProtocolEventsAndEnableForwarding() = 0; 199 virtual void RequestBufferedProtocolEventsAndEnableForwarding() = 0;
200 200
201 // Disables protocol event forwarding. 201 // Disables protocol event forwarding.
202 virtual void DisableProtocolEventForwarding() = 0; 202 virtual void DisableProtocolEventForwarding() = 0;
203 203
204 // Returns a ListValue representing all nodes for the specified types through
205 // |callback| on this thread.
206 virtual void GetAllNodesForTypes(
207 syncer::ModelTypeSet types,
208 base::Callback<void(const std::vector<syncer::ModelType>&,
209 ScopedVector<base::ListValue>)> type) = 0;
210
204 virtual base::MessageLoop* GetSyncLoopForTesting() = 0; 211 virtual base::MessageLoop* GetSyncLoopForTesting() = 0;
205 212
206 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 213 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
207 }; 214 };
208 215
209 } // namespace browser_sync 216 } // namespace browser_sync
210 217
211 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 218 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/resources/sync_internals/sync_search.js ('k') | chrome/browser/sync/glue/sync_backend_host_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698