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

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

Issue 457883002: Use Sync FakeServer in Android tests via custom APK (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 3f651cf74841b0b485c270d7c4a2c91000f856d1..372045088dba99320d7b87a7b0cf93aa4dca17f3 100644
--- a/chrome/browser/sync/profile_sync_service_android.h
+++ b/chrome/browser/sync/profile_sync_service_android.h
@@ -198,6 +198,12 @@ class ProfileSyncServiceAndroid : public ProfileSyncServiceObserver {
// the internal value of base::Time.
jlong GetLastSyncedTimeForTest(JNIEnv* env, jobject obj);
+ // Overrides ProfileSyncService's NetworkResources object. This is used to
+ // set up the Sync FakeServer for testing.
+ void OverrideNetworkResourcesForTest(JNIEnv* env,
+ jobject obj,
+ jlong network_resources);
+
static ProfileSyncServiceAndroid* GetProfileSyncServiceAndroid();
// Registers the ProfileSyncServiceAndroid's native methods through JNI.

Powered by Google App Engine
This is Rietveld 408576698