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

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

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 4 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 SYNC_API_MODEL_TYPE_STORE_H_ 5 #ifndef COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_
6 #define SYNC_API_MODEL_TYPE_STORE_H_ 6 #define COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "sync/base/sync_export.h" 14 #include "components/sync/base/model_type.h"
15 #include "sync/internal_api/public/base/model_type.h" 15 #include "components/sync/base/sync_export.h"
16 16
17 namespace base { 17 namespace base {
18 class SequencedTaskRunner; 18 class SequencedTaskRunner;
19 } // namespace base 19 } // namespace base
20 20
21 namespace syncer_v2 { 21 namespace syncer_v2 {
22 22
23 // ModelTypeStore is leveldb backed store for model type's data, metadata and 23 // ModelTypeStore is leveldb backed store for model type's data, metadata and
24 // global metadata. 24 // global metadata.
25 // 25 //
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 const std::string& id) = 0; 152 const std::string& id) = 0;
153 virtual void DeleteGlobalMetadata(WriteBatch* write_batch) = 0; 153 virtual void DeleteGlobalMetadata(WriteBatch* write_batch) = 0;
154 // TODO(pavely): Consider implementing DeleteAllMetadata with following 154 // TODO(pavely): Consider implementing DeleteAllMetadata with following
155 // signature: 155 // signature:
156 // virtual void DeleteAllMetadata(const CallbackWithResult& callback) = 0. 156 // virtual void DeleteAllMetadata(const CallbackWithResult& callback) = 0.
157 // It will delete all metadata records and global metadata record. 157 // It will delete all metadata records and global metadata record.
158 }; 158 };
159 159
160 } // namespace syncer_v2 160 } // namespace syncer_v2
161 161
162 #endif // SYNC_API_MODEL_TYPE_STORE_H_ 162 #endif // COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_
OLDNEW
« no previous file with comments | « components/sync/api/model_type_service_unittest.cc ('k') | components/sync/api/model_type_store.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698