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

Issue 1383663004: Reland of [Background Sync] Trigger Background Sync events when Chrome is backgrounded on Android (Closed)

Created:
5 years, 2 months ago by iclelland
Modified:
5 years, 2 months ago
CC:
blundell+watchlist_chromium.org, chromium-reviews, darin-cc_chromium.org, droger+watchlist_chromium.org, jam, jbudorick+watch_chromium.org, jkarlin+watch_chromium.org, klundberg+watch_chromium.org, maxbogue+watch_chromium.org, plaree+watch_chromium.org, pvalenzuela+watch_chromium.org, sdefresne+watchlist_chromium.org, tim+watch_chromium.org, yfriedman+watch_chromium.org, zea+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Reland of [Background Sync] Trigger Background Sync events when Chrome is backgrounded on Android Original review: https://codereview.chromium.org/1294603003/ (Committed as https://crrev.com/a5fb97d6fb9c3831994aadebea4664e2acc3c356) Reverted in https://codereview.chromium.org/1376563003/ (as https://crrev.com/c532c674b657426cb733c2b735bbf5741bcbea48) BUG=511129 Committed: https://crrev.com/9c6db4187afa85c03bd7a0e697cc7ff1986e4b77 Cr-Commit-Position: refs/heads/master@{#352019}

Patch Set 1 : Original patch from cr/1294603003 #

Patch Set 2 : Don't crash in embedded webview; check permissions before creating NCNAD #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+393 lines, -25 lines) Patch
M chrome/test/android/unit_tests_apk/AndroidManifest.xml View 1 chunk +1 line, -0 lines 0 comments Download
M components/test/DEPS View 2 chunks +2 lines, -0 lines 0 comments Download
M components/test/run_all_unittests.cc View 2 chunks +4 lines, -0 lines 0 comments Download
A content/browser/android/background_sync_network_observer_android.h View 1 chunk +80 lines, -0 lines 0 comments Download
A content/browser/android/background_sync_network_observer_android.cc View 1 chunk +86 lines, -0 lines 0 comments Download
M content/browser/android/browser_jni_registrar.cc View 2 chunks +4 lines, -0 lines 0 comments Download
M content/browser/background_sync/background_sync_browsertest.cc View 7 chunks +35 lines, -15 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.h View 1 chunk +4 lines, -0 lines 0 comments Download
M content/browser/background_sync/background_sync_manager.cc View 2 chunks +7 lines, -0 lines 0 comments Download
M content/browser/background_sync/background_sync_manager_unittest.cc View 4 chunks +16 lines, -1 line 0 comments Download
M content/browser/background_sync/background_sync_network_observer.h View 2 chunks +19 lines, -4 lines 0 comments Download
M content/browser/background_sync/background_sync_network_observer.cc View 3 chunks +22 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 chunk +2 lines, -0 lines 0 comments Download
M content/content_jni.gypi View 1 chunk +1 line, -0 lines 0 comments Download
A content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java View 1 1 chunk +109 lines, -0 lines 1 comment Download
M testing/android/native_test/java/AndroidManifest.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 17 (5 generated)
iclelland
jkarlin -- PTAL at the changes for the reland, thanks!
5 years, 2 months ago (2015-10-01 15:01:26 UTC) #2
jkarlin
lgtm
5 years, 2 months ago (2015-10-01 15:10:07 UTC) #3
iclelland
+r yfriedman, jochen, mmenke yfriedman: Can you check the Android code for sanity? Also, approval ...
5 years, 2 months ago (2015-10-01 15:18:02 UTC) #5
mmenke
On 2015/10/01 15:18:02, iclelland wrote: > +r yfriedman, jochen, mmenke > > yfriedman: Can you ...
5 years, 2 months ago (2015-10-01 15:21:26 UTC) #6
Yaron
https://codereview.chromium.org/1383663004/diff/20001/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java File content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java (right): https://codereview.chromium.org/1383663004/diff/20001/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java#newcode53 content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java:53: return ctx.checkPermission( Is your intention to refactor this later ...
5 years, 2 months ago (2015-10-01 15:37:37 UTC) #9
Yaron
5 years, 2 months ago (2015-10-01 15:37:38 UTC) #10
iclelland
On 2015/10/01 15:37:37, Yaron wrote: > https://codereview.chromium.org/1383663004/diff/20001/content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java > File > content/public/android/java/src/org/chromium/content/browser/BackgroundSyncNetworkObserver.java > (right): > > ...
5 years, 2 months ago (2015-10-01 15:43:48 UTC) #11
Yaron
lgtm
5 years, 2 months ago (2015-10-01 15:50:57 UTC) #12
jochen (gone - plz use gerrit)
lgtm
5 years, 2 months ago (2015-10-02 13:20:46 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1383663004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1383663004/20001
5 years, 2 months ago (2015-10-02 13:25:44 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years, 2 months ago (2015-10-02 13:35:10 UTC) #16
commit-bot: I haz the power
5 years, 2 months ago (2015-10-02 13:36:02 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/9c6db4187afa85c03bd7a0e697cc7ff1986e4b77
Cr-Commit-Position: refs/heads/master@{#352019}

Powered by Google App Engine
This is Rietveld 408576698