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

Side by Side Diff: components/sync/api/model_type_store.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « components/sync/api/model_type_store.h ('k') | components/sync/api/stub_model_type_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 { 9 namespace syncer_v2 {
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 ModelType type, 18 const syncer::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 31 } // namespace syncer_v2
OLDNEW
« no previous file with comments | « components/sync/api/model_type_store.h ('k') | components/sync/api/stub_model_type_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698