| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 |
| OLD | NEW |