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

Side by Side Diff: sync/internal_api/sync_rollback_manager_base.cc

Issue 377413003: Remove most remaining sync/notifier dependencies (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Attempt to fix win compile Created 6 years, 5 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 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/internal_components_factory.h" 8 #include "sync/internal_api/public/internal_components_factory.h"
9 #include "sync/internal_api/public/read_node.h" 9 #include "sync/internal_api/public/read_node.h"
10 #include "sync/internal_api/public/read_transaction.h" 10 #include "sync/internal_api/public/read_transaction.h"
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 if (type.Get() == BOOKMARKS) { 121 if (type.Get() == BOOKMARKS) {
122 InitBookmarkFolder(kBookmarkBarTag); 122 InitBookmarkFolder(kBookmarkBarTag);
123 InitBookmarkFolder(kOtherBookmarksTag); 123 InitBookmarkFolder(kOtherBookmarksTag);
124 } 124 }
125 } 125 }
126 } 126 }
127 127
128 ready_task.Run(); 128 ready_task.Run();
129 } 129 }
130 130
131 void SyncRollbackManagerBase::OnInvalidatorStateChange(InvalidatorState state) { 131 void SyncRollbackManagerBase::SetInvalidatorEnabled(bool invalidator_enabled) {
132 } 132 }
133 133
134 void SyncRollbackManagerBase::OnIncomingInvalidation( 134 void SyncRollbackManagerBase::OnIncomingInvalidation(
135 syncer::ModelType type, 135 syncer::ModelType type,
136 scoped_ptr<InvalidationInterface> invalidation) { 136 scoped_ptr<InvalidationInterface> invalidation) {
137 NOTREACHED(); 137 NOTREACHED();
138 } 138 }
139 139
140 void SyncRollbackManagerBase::AddObserver(SyncManager::Observer* observer) { 140 void SyncRollbackManagerBase::AddObserver(SyncManager::Observer* observer) {
141 observers_.AddObserver(observer); 141 observers_.AddObserver(observer);
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
336 336
337 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver( 337 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver(
338 syncer::TypeDebugInfoObserver* observer) {} 338 syncer::TypeDebugInfoObserver* observer) {}
339 339
340 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver( 340 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver(
341 syncer::TypeDebugInfoObserver* observer) { return false; } 341 syncer::TypeDebugInfoObserver* observer) { return false; }
342 342
343 void SyncRollbackManagerBase::RequestEmitDebugInfo() {} 343 void SyncRollbackManagerBase::RequestEmitDebugInfo() {}
344 344
345 } // namespace syncer 345 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/internal_api/sync_rollback_manager_base.h ('k') | sync/internal_api/test/fake_sync_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698