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

Unified Diff: components/sync/model/model_type_store.h

Issue 2480203002: ui: Cleanup class/struct forward declarations (Closed)
Patch Set: Sync CL to position 430550 Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/model/mock_model_type_store.cc ('k') | components/sync/model_impl/model_type_store_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/model/model_type_store.h
diff --git a/components/sync/model/model_type_store.h b/components/sync/model/model_type_store.h
index 9746aff2d1ffc8eb094e56c8e16ca4d88c016ad5..07d1082d8273869ab228c40ddb3f969fcc7f4f6a 100644
--- a/components/sync/model/model_type_store.h
+++ b/components/sync/model/model_type_store.h
@@ -12,7 +12,9 @@
#include "base/callback.h"
#include "base/macros.h"
#include "components/sync/base/model_type.h"
+#include "components/sync/model/metadata_batch.h"
#include "components/sync/model/metadata_change_list.h"
+#include "components/sync/model/sync_error.h"
namespace base {
class SequencedTaskRunner;
@@ -111,9 +113,8 @@ class ModelTypeStore {
typedef base::Callback<void(Result result,
std::unique_ptr<RecordList> data_records)>
ReadAllDataCallback;
- typedef base::Callback<void(Result result,
- std::unique_ptr<RecordList> metadata_records,
- const std::string& global_metadata)>
+ typedef base::Callback<void(SyncError sync_error,
+ std::unique_ptr<MetadataBatch> metadata_batch)>
ReadMetadataCallback;
// CreateStore takes |path| and |blocking_task_runner|. Here is how to get
« no previous file with comments | « components/sync/model/mock_model_type_store.cc ('k') | components/sync/model_impl/model_type_store_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698