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 #ifndef COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_ | 5 #ifndef COMPONENTS_SYNC_MODEL_MODEL_TYPE_STORE_H_ |
6 #define COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_ | 6 #define COMPONENTS_SYNC_MODEL_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 "components/sync/base/model_type.h" | 14 #include "components/sync/base/model_type.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 const std::string& id) = 0; | 151 const std::string& id) = 0; |
152 virtual void DeleteGlobalMetadata(WriteBatch* write_batch) = 0; | 152 virtual void DeleteGlobalMetadata(WriteBatch* write_batch) = 0; |
153 // TODO(pavely): Consider implementing DeleteAllMetadata with following | 153 // TODO(pavely): Consider implementing DeleteAllMetadata with following |
154 // signature: | 154 // signature: |
155 // virtual void DeleteAllMetadata(const CallbackWithResult& callback) = 0. | 155 // virtual void DeleteAllMetadata(const CallbackWithResult& callback) = 0. |
156 // It will delete all metadata records and global metadata record. | 156 // It will delete all metadata records and global metadata record. |
157 }; | 157 }; |
158 | 158 |
159 } // namespace syncer | 159 } // namespace syncer |
160 | 160 |
161 #endif // COMPONENTS_SYNC_API_MODEL_TYPE_STORE_H_ | 161 #endif // COMPONENTS_SYNC_MODEL_MODEL_TYPE_STORE_H_ |
OLD | NEW |