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

Unified Diff: chrome/browser/sync/profile_sync_service_model_type_selection_android.h

Issue 12313075: [sync] Upstream the Android ProfileSyncService (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 | « chrome/browser/sync/profile_sync_service_android.cc ('k') | chrome/browser/sync/sync_prefs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/profile_sync_service_model_type_selection_android.h
diff --git a/chrome/browser/sync/profile_sync_service_model_type_selection_android.h b/chrome/browser/sync/profile_sync_service_model_type_selection_android.h
new file mode 100644
index 0000000000000000000000000000000000000000..3628596c873092b3fc44294818775fecbfc5b9a2
--- /dev/null
+++ b/chrome/browser/sync/profile_sync_service_model_type_selection_android.h
@@ -0,0 +1,19 @@
+// Copyright 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// This file intentionally does not have header guards, it's included
+// inside a macro to generate enum.
+
+// This file contains the list of sync ModelTypes that Android can select as
+// preferred types.
+
+DEFINE_MODEL_TYPE_SELECTION(AUTOFILL, 1)
+
+DEFINE_MODEL_TYPE_SELECTION(BOOKMARK, 2)
+
+DEFINE_MODEL_TYPE_SELECTION(PASSWORD, 4)
+
+DEFINE_MODEL_TYPE_SELECTION(SESSION, 8)
+
+DEFINE_MODEL_TYPE_SELECTION(TYPED_URL, 16)
« no previous file with comments | « chrome/browser/sync/profile_sync_service_android.cc ('k') | chrome/browser/sync/sync_prefs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698