| 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 314 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 entry.PutUniqueServerTag(folder); | 325 entry.PutUniqueServerTag(folder); |
| 326 entry.PutNonUniqueName(folder); | 326 entry.PutNonUniqueName(folder); |
| 327 entry.PutIsDel(false); | 327 entry.PutIsDel(false); |
| 328 entry.PutIsDir(true); | 328 entry.PutIsDir(true); |
| 329 | 329 |
| 330 sync_pb::EntitySpecifics specifics; | 330 sync_pb::EntitySpecifics specifics; |
| 331 AddDefaultFieldValue(BOOKMARKS, &specifics); | 331 AddDefaultFieldValue(BOOKMARKS, &specifics); |
| 332 entry.PutSpecifics(specifics); | 332 entry.PutSpecifics(specifics); |
| 333 } | 333 } |
| 334 | 334 |
| 335 ObserverList<SyncManager::Observer>* SyncRollbackManagerBase::GetObservers() { |
| 336 return &observers_; |
| 337 } |
| 338 |
| 335 void SyncRollbackManagerBase::RegisterDirectoryTypeDebugInfoObserver( | 339 void SyncRollbackManagerBase::RegisterDirectoryTypeDebugInfoObserver( |
| 336 syncer::TypeDebugInfoObserver* observer) {} | 340 syncer::TypeDebugInfoObserver* observer) {} |
| 337 | 341 |
| 338 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver( | 342 void SyncRollbackManagerBase::UnregisterDirectoryTypeDebugInfoObserver( |
| 339 syncer::TypeDebugInfoObserver* observer) {} | 343 syncer::TypeDebugInfoObserver* observer) {} |
| 340 | 344 |
| 341 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver( | 345 bool SyncRollbackManagerBase::HasDirectoryTypeDebugInfoObserver( |
| 342 syncer::TypeDebugInfoObserver* observer) { return false; } | 346 syncer::TypeDebugInfoObserver* observer) { return false; } |
| 343 | 347 |
| 344 void SyncRollbackManagerBase::RequestEmitDebugInfo() {} | 348 void SyncRollbackManagerBase::RequestEmitDebugInfo() {} |
| 345 | 349 |
| 346 } // namespace syncer | 350 } // namespace syncer |
| OLD | NEW |