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

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

Issue 2618483003: [Sync] Introduce ModelError for USS error handling. (Closed)
Patch Set: Address comments. Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/model/model_type_debug_info.cc ('k') | components/sync/model/model_type_sync_bridge.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 02448ea0c0fb30d2c79a4e555b27167368dfd91c..dd361f390e8ae4b5d060702dc28dad5abf516b7d 100644
--- a/components/sync/model/model_type_store.h
+++ b/components/sync/model/model_type_store.h
@@ -14,7 +14,7 @@
#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"
+#include "components/sync/model/model_error.h"
namespace base {
class SequencedTaskRunner;
@@ -119,7 +119,7 @@ class ModelTypeStore {
typedef base::Callback<void(Result result,
std::unique_ptr<RecordList> data_records)>
ReadAllDataCallback;
- typedef base::Callback<void(SyncError sync_error,
+ typedef base::Callback<void(ModelError error,
std::unique_ptr<MetadataBatch> metadata_batch)>
ReadMetadataCallback;
« no previous file with comments | « components/sync/model/model_type_debug_info.cc ('k') | components/sync/model/model_type_sync_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698