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

Side by Side Diff: sync/internal_api/test/fake_sync_manager.cc

Issue 1144443004: Revert of [Sync] Refactoring polling to be reliable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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 | « sync/internal_api/sync_rollback_manager_unittest.cc ('k') | sync/sessions/status_controller.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 #include "sync/internal_api/public/test/fake_sync_manager.h" 5 #include "sync/internal_api/public/test/fake_sync_manager.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 progress_marker_types_.RemoveAll(partial_types); 111 progress_marker_types_.RemoveAll(partial_types);
112 cleaned_types_.PutAll(partial_types); 112 cleaned_types_.PutAll(partial_types);
113 return true; 113 return true;
114 } 114 }
115 115
116 void FakeSyncManager::UpdateCredentials(const SyncCredentials& credentials) { 116 void FakeSyncManager::UpdateCredentials(const SyncCredentials& credentials) {
117 NOTIMPLEMENTED(); 117 NOTIMPLEMENTED();
118 } 118 }
119 119
120 void FakeSyncManager::StartSyncingNormally( 120 void FakeSyncManager::StartSyncingNormally(
121 const ModelSafeRoutingInfo& routing_info, base::Time last_poll_time) { 121 const ModelSafeRoutingInfo& routing_info) {
122 // Do nothing. 122 // Do nothing.
123 } 123 }
124 124
125 void FakeSyncManager::ConfigureSyncer( 125 void FakeSyncManager::ConfigureSyncer(
126 ConfigureReason reason, 126 ConfigureReason reason,
127 ModelTypeSet to_download, 127 ModelTypeSet to_download,
128 ModelTypeSet to_purge, 128 ModelTypeSet to_purge,
129 ModelTypeSet to_journal, 129 ModelTypeSet to_journal,
130 ModelTypeSet to_unapply, 130 ModelTypeSet to_unapply,
131 const ModelSafeRoutingInfo& new_routing_info, 131 const ModelSafeRoutingInfo& new_routing_info,
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 251
252 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() { 252 ModelTypeSet FakeSyncManager::GetLastRefreshRequestTypes() {
253 return last_refresh_request_types_; 253 return last_refresh_request_types_;
254 } 254 }
255 255
256 void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) { 256 void FakeSyncManager::SetInvalidatorEnabled(bool invalidator_enabled) {
257 // Do nothing. 257 // Do nothing.
258 } 258 }
259 259
260 } // namespace syncer 260 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_rollback_manager_unittest.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698