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

Side by Side Diff: chrome/browser/sync/glue/sync_backend_host_mock.cc

Issue 212603007: sync: Buffer Protocol Events for about:sync page (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase 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 #include "chrome/browser/sync/glue/sync_backend_host_mock.h" 5 #include "chrome/browser/sync/glue/sync_backend_host_mock.h"
6 6
7 #include "components/sync_driver/sync_frontend.h" 7 #include "components/sync_driver/sync_frontend.h"
8 8
9 namespace browser_sync { 9 namespace browser_sync {
10 10
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 syncer::ModelSafeRoutingInfo* out) const {} 103 syncer::ModelSafeRoutingInfo* out) const {}
104 104
105 SyncedDeviceTracker* SyncBackendHostMock::GetSyncedDeviceTracker() const { 105 SyncedDeviceTracker* SyncBackendHostMock::GetSyncedDeviceTracker() const {
106 return NULL; 106 return NULL;
107 } 107 }
108 108
109 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() { 109 base::MessageLoop* SyncBackendHostMock::GetSyncLoopForTesting() {
110 return NULL; 110 return NULL;
111 } 111 }
112 112
113 void SyncBackendHostMock::SetForwardProtocolEvents(bool enabled) {} 113 void SyncBackendHostMock::RequestBufferedProtocolEventsAndEnableForwarding() {}
114
115 void SyncBackendHostMock::DisableProtocolEventForwarding() {}
114 116
115 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) { 117 void SyncBackendHostMock::set_fail_initial_download(bool should_fail) {
116 fail_initial_download_ = should_fail; 118 fail_initial_download_ = should_fail;
117 } 119 }
118 120
119 } // namespace browser_sync 121 } // namespace browser_sync
120 122
OLDNEW
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host_mock.h ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698