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

Unified Diff: content/browser/android/background_sync_launcher_android.cc

Issue 1288593003: [BackgroundSync] Move read and write of shared preferences to an AsyncTask (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sync as suffix instead of prefix Created 5 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
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/BackgroundSyncLauncher.java » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/background_sync_launcher_android.cc
diff --git a/content/browser/android/background_sync_launcher_android.cc b/content/browser/android/background_sync_launcher_android.cc
index 78110c14f6428b08b9ca0ed3d22bb20418bfa00b..693817baa8a8174bad383aac37131c9531a0603e 100644
--- a/content/browser/android/background_sync_launcher_android.cc
+++ b/content/browser/android/background_sync_launcher_android.cc
@@ -46,7 +46,8 @@ void BackgroundSyncLauncherAndroid::LaunchBrowserWhenNextOnlineImpl(
if (was_launching != now_launching) {
JNIEnv* env = base::android::AttachCurrentThread();
Java_BackgroundSyncLauncher_setLaunchWhenNextOnline(
- env, java_launcher_.obj(), now_launching);
+ env, java_launcher_.obj(), base::android::GetApplicationContext(),
+ now_launching);
}
}
« no previous file with comments | « no previous file | content/public/android/java/src/org/chromium/content/browser/BackgroundSyncLauncher.java » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698