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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_mock.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_MOCK_H_ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 6 #define CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 const syncer::BaseTransaction* trans) const OVERRIDE; 89 const syncer::BaseTransaction* trans) const OVERRIDE;
90 90
91 virtual void GetModelSafeRoutingInfo( 91 virtual void GetModelSafeRoutingInfo(
92 syncer::ModelSafeRoutingInfo* out) const OVERRIDE; 92 syncer::ModelSafeRoutingInfo* out) const OVERRIDE;
93 93
94 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE; 94 virtual SyncedDeviceTracker* GetSyncedDeviceTracker() const OVERRIDE;
95 95
96 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE; 96 virtual void RequestBufferedProtocolEventsAndEnableForwarding() OVERRIDE;
97 virtual void DisableProtocolEventForwarding() OVERRIDE; 97 virtual void DisableProtocolEventForwarding() OVERRIDE;
98 98
99 virtual void GetAllNodesForTypes(
100 syncer::ModelTypeSet types,
101 base::Callback<void(const std::vector<syncer::ModelType>& type,
102 ScopedVector<base::ListValue>) > callback) OVERRIDE;
103
99 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE; 104 virtual base::MessageLoop* GetSyncLoopForTesting() OVERRIDE;
100 105
101 void set_fail_initial_download(bool should_fail); 106 void set_fail_initial_download(bool should_fail);
102 107
103 private: 108 private:
104 bool fail_initial_download_; 109 bool fail_initial_download_;
105 }; 110 };
106 111
107 } // namespace browser_sync 112 } // namespace browser_sync
108 113
109 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_ 114 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_MOCK_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_impl.cc ('k') | chrome/browser/sync/glue/sync_backend_host_mock.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698