| Index: chrome/browser/sync/profile_sync_service_android.h
|
| diff --git a/chrome/browser/sync/profile_sync_service_android.h b/chrome/browser/sync/profile_sync_service_android.h
|
| index 2b2f34e22067c9065c50265cc0a9b3bdb4700532..5295d221bebb1e7891bb08eeeb0b59afd59a8f86 100644
|
| --- a/chrome/browser/sync/profile_sync_service_android.h
|
| +++ b/chrome/browser/sync/profile_sync_service_android.h
|
| @@ -137,11 +137,17 @@ class ProfileSyncServiceAndroid : public ProfileSyncServiceObserver {
|
| // Returns true if sync has been migrated.
|
| jboolean IsSyncKeystoreMigrationDone(JNIEnv* env, jobject obj);
|
|
|
| - // Get the set of enabled data types. These are the types currently both
|
| - // registered and preferred. Note that control types are always included here.
|
| + // Get the set of active data types. These are the types currently being
|
| + // synced. Note that control types are always included here.
|
| // Returns a bit map of the values from
|
| // profile_sync_service_model_type_selection_android.h.
|
| - jlong GetEnabledDataTypes(JNIEnv* env, jobject obj);
|
| + jlong GetActiveDataTypes(JNIEnv* env, jobject obj);
|
| +
|
| + // Get the set of preferred data types. These are the types that the user
|
| + // has requested be synced.
|
| + // Returns a bit map of the values from
|
| + // profile_sync_service_model_type_selection_android.h.
|
| + jlong GetPreferredDataTypes(JNIEnv* env, jobject obj);
|
|
|
| // Enables the passed data types.
|
| // If |sync_everything| is true, then all data types are enabled and the
|
|
|