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. |