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

Unified Diff: sync/syncable/model_type.cc

Issue 235053006: Add sync manager classes for backup/rollback: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | « sync/sync_tests.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/syncable/model_type.cc
diff --git a/sync/syncable/model_type.cc b/sync/syncable/model_type.cc
index 8e96bfc7602949372aaea9f9ff3dcb85f72be5ea..ecb54d69bde17ca9e915867f6396c55e2d3986a9 100644
--- a/sync/syncable/model_type.cc
+++ b/sync/syncable/model_type.cc
@@ -438,6 +438,20 @@ ModelTypeSet PriorityCoreTypes() {
return result;
}
+ModelTypeSet BackupTypes() {
+ ModelTypeSet result;
+ result.Put(BOOKMARKS);
+ result.Put(PREFERENCES);
+ result.Put(THEMES);
+ result.Put(EXTENSIONS);
+ result.Put(SEARCH_ENGINES);
+ result.Put(APPS);
+ result.Put(APP_SETTINGS);
+ result.Put(EXTENSION_SETTINGS);
+ result.Put(PRIORITY_PREFERENCES);
+ return result;
+}
+
const char* ModelTypeToString(ModelType model_type) {
// This is used in serialization routines as well as for displaying debug
// information. Do not attempt to change these string values unless you know
« no previous file with comments | « sync/sync_tests.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698