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

Unified Diff: components/sync/engine/model_safe_worker.cc

Issue 2834453006: [Sync] Update Type Info section of sync-internals. (Closed)
Patch Set: Reworked some of the variables in GetTypeStatusMap(). Created 3 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
« no previous file with comments | « components/sync/driver/resources/about.js ('k') | components/sync/engine/model_safe_worker_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine/model_safe_worker.cc
diff --git a/components/sync/engine/model_safe_worker.cc b/components/sync/engine/model_safe_worker.cc
index 773571675ba7806755af26c9d2ab6b1b7bec18f6..bd2ac21b8e7486c29f5c79b02665cd02e704e8e1 100644
--- a/components/sync/engine/model_safe_worker.cc
+++ b/components/sync/engine/model_safe_worker.cc
@@ -53,23 +53,22 @@ ModelSafeGroup GetGroupForModelType(const ModelType type,
std::string ModelSafeGroupToString(ModelSafeGroup group) {
switch (group) {
case GROUP_UI:
- return "GROUP_UI";
+ return "Group UI";
case GROUP_DB:
- return "GROUP_DB";
+ return "Group DB";
case GROUP_FILE:
- return "GROUP_FILE";
+ return "Group File";
case GROUP_HISTORY:
- return "GROUP_HISTORY";
+ return "Group History";
case GROUP_PASSIVE:
- return "GROUP_PASSIVE";
+ return "Group Passive";
case GROUP_PASSWORD:
- return "GROUP_PASSWORD";
+ return "Group Password";
case GROUP_NON_BLOCKING:
- return "GROUP_NON_BLOCKING";
- default:
- NOTREACHED();
- return "INVALID";
+ return "Group Non Blocking";
}
+ NOTREACHED();
+ return "Invalid";
}
ModelSafeWorker::ModelSafeWorker()
« no previous file with comments | « components/sync/driver/resources/about.js ('k') | components/sync/engine/model_safe_worker_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698