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

Unified Diff: sync/internal_api/public/engine/model_safe_worker.h

Issue 1848793006: [Sync] Register USS types with ModelTypeRegistry before download (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix build. Created 4 years, 8 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/internal_api/public/engine/model_safe_worker.h
diff --git a/sync/internal_api/public/engine/model_safe_worker.h b/sync/internal_api/public/engine/model_safe_worker.h
index ee4e9a61ca92aea26b6b3a150373d14919b67a29..bc3f6e057cc87021a1aed275fc5214f112eb4a40 100644
--- a/sync/internal_api/public/engine/model_safe_worker.h
+++ b/sync/internal_api/public/engine/model_safe_worker.h
@@ -42,7 +42,10 @@ enum ModelSafeGroup {
GROUP_PASSWORD, // Models that live on the password thread and are
// being synced. On windows and linux, this runs on the
// DB thread.
- MODEL_SAFE_GROUP_COUNT,
+ GROUP_NON_BLOCKING, // Models that correspond to non-blocking types. These
+ // models always stay in GROUP_NON_BLOCKING; changes are
+ // forwarded to these models without ModelSafeWorker/
+ // SyncBackendRegistrar involvement.
};
SYNC_EXPORT std::string ModelSafeGroupToString(ModelSafeGroup group);
« no previous file with comments | « components/sync_driver/ui_model_type_controller_unittest.cc ('k') | sync/internal_api/public/engine/model_safe_worker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698