Chromium Code Reviews| Index: chrome/browser/sync/profile_sync_service_android.cc |
| diff --git a/chrome/browser/sync/profile_sync_service_android.cc b/chrome/browser/sync/profile_sync_service_android.cc |
| index f6251c114b08a9a67224888810f7a8316d76416e..1d866bbc9881fcb7fde9632c20ce733df65ee573 100644 |
| --- a/chrome/browser/sync/profile_sync_service_android.cc |
| +++ b/chrome/browser/sync/profile_sync_service_android.cc |
| @@ -43,10 +43,26 @@ using content::BrowserThread; |
| namespace { |
| -enum { |
| -#define DEFINE_MODEL_TYPE_SELECTION(name,value) name = value, |
| -#include "chrome/browser/sync/profile_sync_service_model_type_selection_android.h" |
| -#undef DEFINE_MODEL_TYPE_SELECTION |
| +// This enum contains the list of sync ModelTypes that Android can register for |
| +// invalidations for. |
| +// |
| +// A Java counterpart will be generated for this enum. |
| +// GENERATED_JAVA_ENUM_PACKAGE: org.chromium.chrome.browser.sync |
| +enum ModelTypeSelection { |
| + AUTOFILL = 1 << 0, |
|
Yaron
2014/10/15 02:36:49
Did you check that this actually worked? Can you a
mkosiba (inactive)
2014/10/16 12:45:07
The generated files don't differ (the template mec
|
| + BOOKMARK = 1 << 1, |
| + PASSWORD = 1 << 2, |
| + SESSION = 1 << 3, |
| + TYPED_URL = 1 << 4, |
| + AUTOFILL_PROFILE = 1 << 5, |
| + HISTORY_DELETE_DIRECTIVE = 1 << 6, |
| + PROXY_TABS = 1 << 7, |
| + FAVICON_IMAGE = 1 << 8, |
| + FAVICON_TRACKING = 1 << 9, |
| + NIGORI = 1 << 10, |
| + DEVICE_INFO = 1 << 11, |
| + EXPERIMENTS = 1 << 12, |
| + SUPERVISED_USER_SETTING = 1 << 13, |
| }; |
| } // namespace |