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

Side by Side Diff: components/sync/core/model_type_store_impl.h

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. 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
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 #ifndef COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_ 5 #ifndef COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_
6 #define COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_ 6 #define COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/threading/non_thread_safe.h" 13 #include "base/threading/non_thread_safe.h"
14 #include "components/sync/api/model_type_store.h"
15 #include "components/sync/base/model_type.h" 14 #include "components/sync/base/model_type.h"
15 #include "components/sync/model/model_type_store.h"
16 16
17 namespace leveldb { 17 namespace leveldb {
18 class WriteBatch; 18 class WriteBatch;
19 } // namespace leveldb 19 } // namespace leveldb
20 20
21 namespace syncer { 21 namespace syncer {
22 22
23 class ModelTypeStoreBackend; 23 class ModelTypeStoreBackend;
24 24
25 // ModelTypeStoreImpl handles details of store initialization, threading and 25 // ModelTypeStoreImpl handles details of store initialization, threading and
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 // Key prefix for data/metadata records of this model type. 114 // Key prefix for data/metadata records of this model type.
115 const std::string data_prefix_; 115 const std::string data_prefix_;
116 const std::string metadata_prefix_; 116 const std::string metadata_prefix_;
117 117
118 base::WeakPtrFactory<ModelTypeStoreImpl> weak_ptr_factory_; 118 base::WeakPtrFactory<ModelTypeStoreImpl> weak_ptr_factory_;
119 }; 119 };
120 120
121 } // namespace syncer 121 } // namespace syncer
122 122
123 #endif // COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_ 123 #endif // COMPONENTS_SYNC_CORE_MODEL_TYPE_STORE_IMPL_H_
OLDNEW
« no previous file with comments | « components/sync/core/model_type_store_backend.h ('k') | components/sync/core/non_blocking_sync_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698