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 372045088dba99320d7b87a7b0cf93aa4dca17f3..66e859cbd4f602240359be47f2cb26e4a449f5c6 100644 |
--- a/chrome/browser/sync/profile_sync_service_android.h |
+++ b/chrome/browser/sync/profile_sync_service_android.h |
@@ -204,6 +204,14 @@ class ProfileSyncServiceAndroid : public ProfileSyncServiceObserver { |
jobject obj, |
jlong network_resources); |
+ // Public for tests. |
+ static jlong ModelTypeSetToSelection(syncer::ModelTypeSet model_types); |
+ |
+ // Converts a bitmap of model types to a set of Java ModelTypes, and returns |
+ // their string descriptions separated by commas. |
+ static std::string ModelTypeSelectionToStringForTest( |
+ jlong model_type_selection); |
+ |
static ProfileSyncServiceAndroid* GetProfileSyncServiceAndroid(); |
// Registers the ProfileSyncServiceAndroid's native methods through JNI. |