| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 "components/sync/api/model_type_store.h" | 5 #include "components/sync/api/model_type_store.h" |
| 6 | 6 |
| 7 #include "components/sync/core/model_type_store_impl.h" | 7 #include "components/sync/core/model_type_store_impl.h" |
| 8 | 8 |
| 9 namespace syncer_v2 { | 9 namespace syncer { |
| 10 | 10 |
| 11 // static | 11 // static |
| 12 void ModelTypeStore::CreateInMemoryStoreForTest(const InitCallback& callback) { | 12 void ModelTypeStore::CreateInMemoryStoreForTest(const InitCallback& callback) { |
| 13 ModelTypeStoreImpl::CreateInMemoryStoreForTest(callback); | 13 ModelTypeStoreImpl::CreateInMemoryStoreForTest(callback); |
| 14 } | 14 } |
| 15 | 15 |
| 16 // static | 16 // static |
| 17 void ModelTypeStore::CreateStore( | 17 void ModelTypeStore::CreateStore( |
| 18 const syncer::ModelType type, | 18 const ModelType type, |
| 19 const std::string& path, | 19 const std::string& path, |
| 20 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, | 20 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner, |
| 21 const InitCallback& callback) { | 21 const InitCallback& callback) { |
| 22 ModelTypeStoreImpl::CreateStore(type, path, blocking_task_runner, callback); | 22 ModelTypeStoreImpl::CreateStore(type, path, blocking_task_runner, callback); |
| 23 } | 23 } |
| 24 | 24 |
| 25 ModelTypeStore::~ModelTypeStore() {} | 25 ModelTypeStore::~ModelTypeStore() {} |
| 26 | 26 |
| 27 ModelTypeStore::WriteBatch::WriteBatch() {} | 27 ModelTypeStore::WriteBatch::WriteBatch() {} |
| 28 | 28 |
| 29 ModelTypeStore::WriteBatch::~WriteBatch() {} | 29 ModelTypeStore::WriteBatch::~WriteBatch() {} |
| 30 | 30 |
| 31 } // namespace syncer_v2 | 31 } // namespace syncer |
| OLD | NEW |