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

Unified Diff: sync/api/model_type_change_processor.h

Issue 1991023002: [Sync] USS: Fix race condition in DeviceInfoService + add error handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
Index: sync/api/model_type_change_processor.h
diff --git a/sync/api/model_type_change_processor.h b/sync/api/model_type_change_processor.h
index e9347bd697709655dd9c833a21d82135c943ee40..70e03dee15a09ac916e1b124aadd34a4c35421a6 100644
--- a/sync/api/model_type_change_processor.h
+++ b/sync/api/model_type_change_processor.h
@@ -9,6 +9,7 @@
#include <string>
#include "sync/api/entity_data.h"
+#include "sync/api/sync_error_factory.h"
#include "sync/base/sync_export.h"
#include "sync/internal_api/public/activation_context.h"
@@ -24,14 +25,14 @@ class MetadataChangeList;
// Interface used by the ModelTypeService to inform sync of local
// changes.
-class SYNC_EXPORT ModelTypeChangeProcessor {
+class SYNC_EXPORT ModelTypeChangeProcessor : public syncer::SyncErrorFactory {
public:
typedef base::Callback<void(syncer::SyncError,
std::unique_ptr<ActivationContext>)>
StartCallback;
ModelTypeChangeProcessor();
- virtual ~ModelTypeChangeProcessor();
+ ~ModelTypeChangeProcessor() override;
// Inform the processor of a new or updated entity. The |entity_data| param
// does not need to be fully set, but it should at least have specifics and
« no previous file with comments | « sync/api/fake_model_type_change_processor.cc ('k') | sync/internal_api/public/shared_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698