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

Issue 2698143005: [Offline pages] Ensuring obtaining GcmNetworkManager in BackgroundScheduler does not throw (Closed)

Created:
3 years, 10 months ago by fgorski
Modified:
3 years, 10 months ago
CC:
chromium-reviews, dewittj+watch_chromium.org, fgorski+watch_chromium.org, romax+watch_chromium.org, petewil+watch_chromium.org, chili+watch_chromium.org, agrieve+watch_chromium.org, dimich+watch_chromium.org, jbudorick
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Offline pages] Ensuring obtaining GcmNetworkManager in BackgroundScheduler does not throw The culprit was devices with no Google Play Services throw when trying to get GcmNetworkManager. This patch prevents it and updates the test. BUG=692151 R=petewil@chromium.org Review-Url: https://codereview.chromium.org/2698143005 Cr-Commit-Position: refs/heads/master@{#451428} Committed: https://chromium.googlesource.com/chromium/src/+/009f63edd2aa777dd51cd48da3b7295636fe0235

Patch Set 1 #

Patch Set 2 : Adding a check for GoogleApiAvailability #

Patch Set 3 : Fixing date in copyright header #

Messages

Total messages: 29 (17 generated)
fgorski
ptal
3 years, 10 months ago (2017-02-16 23:30:43 UTC) #2
Pete Williamson
lgtm
3 years, 10 months ago (2017-02-16 23:35:41 UTC) #4
fgorski
Pete, please take another look. John, this is FYI. I decided to create a shadow ...
3 years, 10 months ago (2017-02-17 18:43:47 UTC) #10
jbudorick
lgtm, but we should migrate to robolectric's version of ShadowGoogleApiAvailability once we upgrade beyond 3.1. ...
3 years, 10 months ago (2017-02-17 18:54:56 UTC) #12
jianli
Do we fall back to normal download through Chrome if we cannot use GcmNetworkManager?
3 years, 10 months ago (2017-02-17 21:44:22 UTC) #16
fgorski
On 2017/02/17 21:44:22, jianli wrote: > Do we fall back to normal download through Chrome ...
3 years, 10 months ago (2017-02-17 21:53:53 UTC) #17
jianli
lgtm
3 years, 10 months ago (2017-02-17 21:54:40 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698143005/40001
3 years, 10 months ago (2017-02-17 22:04:43 UTC) #21
Pete Williamson
lgtm. This brings up another issue that we should address separately - if there are ...
3 years, 10 months ago (2017-02-17 22:55:38 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL)
3 years, 10 months ago (2017-02-18 00:07:31 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2698143005/40001
3 years, 10 months ago (2017-02-18 04:32:25 UTC) #26
commit-bot: I haz the power
3 years, 10 months ago (2017-02-18 06:34:01 UTC) #29
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/009f63edd2aa777dd51cd48da3b7...

Powered by Google App Engine
This is Rietveld 408576698