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

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

Issue 1253743003: [Sync] Update SyncBackendHost to forward ClearServerData to SyncManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clearserverdatacommand
Patch Set: Remove unused callback variable Created 5 years, 4 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
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 virtual void EnableDirectoryTypeDebugInfoForwarding() = 0; 215 virtual void EnableDirectoryTypeDebugInfoForwarding() = 0;
216 216
217 // Disables the sending of directory type debug counters. 217 // Disables the sending of directory type debug counters.
218 virtual void DisableDirectoryTypeDebugInfoForwarding() = 0; 218 virtual void DisableDirectoryTypeDebugInfoForwarding() = 0;
219 219
220 virtual base::MessageLoop* GetSyncLoopForTesting() = 0; 220 virtual base::MessageLoop* GetSyncLoopForTesting() = 0;
221 221
222 // Triggers sync cycle to update |types|. 222 // Triggers sync cycle to update |types|.
223 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0; 223 virtual void RefreshTypesForTest(syncer::ModelTypeSet types) = 0;
224 224
225 // See SyncManager::ClearServerData.
226 virtual void ClearServerData(
227 const syncer::SyncManager::ClearServerDataCallback& callback) = 0;
228
225 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost); 229 DISALLOW_COPY_AND_ASSIGN(SyncBackendHost);
226 }; 230 };
227 231
228 } // namespace browser_sync 232 } // namespace browser_sync
229 233
230 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_ 234 #endif // CHROME_BROWSER_SYNC_GLUE_SYNC_BACKEND_HOST_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host_core.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698