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

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

Issue 493293002: Enable invalidations for supervised user settings on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 'nother compile fix Created 6 years, 4 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
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.

Powered by Google App Engine
This is Rietveld 408576698