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

Side by Side Diff: sync/internal_api/sync_rollback_manager_base.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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/sync_rollback_manager_base.h" 5 #include "sync/internal_api/sync_rollback_manager_base.h"
6 6
7 #include "sync/internal_api/public/base/model_type.h" 7 #include "sync/internal_api/public/base/model_type.h"
8 #include "sync/internal_api/public/read_node.h" 8 #include "sync/internal_api/public/read_node.h"
9 #include "sync/internal_api/public/read_transaction.h" 9 #include "sync/internal_api/public/read_transaction.h"
10 #include "sync/internal_api/public/write_transaction.h" 10 #include "sync/internal_api/public/write_transaction.h"
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 bool SyncRollbackManagerBase::PurgePartiallySyncedTypes() { 79 bool SyncRollbackManagerBase::PurgePartiallySyncedTypes() {
80 NOTREACHED(); 80 NOTREACHED();
81 return true; 81 return true;
82 } 82 }
83 83
84 void SyncRollbackManagerBase::UpdateCredentials( 84 void SyncRollbackManagerBase::UpdateCredentials(
85 const SyncCredentials& credentials) { 85 const SyncCredentials& credentials) {
86 } 86 }
87 87
88 void SyncRollbackManagerBase::StartSyncingNormally( 88 void SyncRollbackManagerBase::StartSyncingNormally(
89 const ModelSafeRoutingInfo& routing_info, base::Time last_poll_time){ 89 const ModelSafeRoutingInfo& routing_info){
90 } 90 }
91 91
92 void SyncRollbackManagerBase::ConfigureSyncer( 92 void SyncRollbackManagerBase::ConfigureSyncer(
93 ConfigureReason reason, 93 ConfigureReason reason,
94 ModelTypeSet to_download, 94 ModelTypeSet to_download,
95 ModelTypeSet to_purge, 95 ModelTypeSet to_purge,
96 ModelTypeSet to_journal, 96 ModelTypeSet to_journal,
97 ModelTypeSet to_unapply, 97 ModelTypeSet to_unapply,
98 const ModelSafeRoutingInfo& new_routing_info, 98 const ModelSafeRoutingInfo& new_routing_info,
99 const base::Closure& ready_task, 99 const base::Closure& ready_task,
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 318
319 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver( 319 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver(
320 syncer::TypeDebugInfoObserver* observer) {} 320 syncer::TypeDebugInfoObserver* observer) {}
321 321
322 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver( 322 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver(
323 syncer::TypeDebugInfoObserver* observer) { return false; } 323 syncer::TypeDebugInfoObserver* observer) { return false; }
324 324
325 void SyncRollbackManagerBase::RequestEmitDebugInfo() {} 325 void SyncRollbackManagerBase::RequestEmitDebugInfo() {}
326 326
327 } // namespace syncer 327 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_rollback_manager_base.h ('k') | sync/internal_api/sync_rollback_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698