DewittJ: Please check the JNI code for correctness, approach, and style. DougArnett: Please check everything ...
3 years, 10 months ago
(2017-01-27 22:50:09 UTC)
#2
DewittJ: Please check the JNI code for correctness, approach, and style.
DougArnett: Please check everything
Romax: Feel free to chime in if the evaluation test is adversely affected.
Pete Williamson
https://codereview.chromium.org/2659813006/diff/1/components/offline_pages/core/background/request_coordinator.cc File components/offline_pages/core/background/request_coordinator.cc (right): https://codereview.chromium.org/2659813006/diff/1/components/offline_pages/core/background/request_coordinator.cc#newcode621 components/offline_pages/core/background/request_coordinator.cc:621: // TODO(petewil): Now that we can get conditions any ...
3 years, 10 months ago
(2017-01-27 22:53:28 UTC)
#3
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/355103)
3 years, 10 months ago
(2017-01-28 00:33:35 UTC)
#12
Try jobs failed on following builders: android_n5x_swarming_rel on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_n5x_swarming_rel/builds/109596)
3 years, 10 months ago
(2017-01-30 23:42:57 UTC)
#19
CQ is committing da patch. Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485843258906310, "parent_rev": "ccdfe0541dd3f6e7c85fc774772e3ff880730216", "commit_rev": "a2c4dd1ab5ba1423bdb46bd4b0111b942ad5f3fb"}
3 years, 10 months ago
(2017-01-31 06:50:56 UTC)
#22
CQ is committing da patch.
Bot data: {"patchset_id": 40001, "attempt_start_ts": 1485843258906310,
"parent_rev": "ccdfe0541dd3f6e7c85fc774772e3ff880730216", "commit_rev":
"a2c4dd1ab5ba1423bdb46bd4b0111b942ad5f3fb"}
commit-bot: I haz the power
Description was changed from ========== Always get device conditions from Java for every attempt. Previously ...
3 years, 10 months ago
(2017-01-31 06:51:51 UTC)
#23
Message was sent while issue was closed.
Description was changed from
==========
Always get device conditions from Java for every attempt.
Previously we used the NetworkChangeNotifier, but it does not
get network change notifications when Chrome runs in the background,
which is our primary use case. So, before starting each request,
get the latest device conditions from Android directly via the Java
API.
BUG=682790
==========
to
==========
Always get device conditions from Java for every attempt.
Previously we used the NetworkChangeNotifier, but it does not
get network change notifications when Chrome runs in the background,
which is our primary use case. So, before starting each request,
get the latest device conditions from Android directly via the Java
API.
BUG=682790
Review-Url: https://codereview.chromium.org/2659813006
Cr-Commit-Position: refs/heads/master@{#447201}
Committed:
https://chromium.googlesource.com/chromium/src/+/a2c4dd1ab5ba1423bdb46bd4b011...
==========
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/a2c4dd1ab5ba1423bdb46bd4b0111b942ad5f3fb
3 years, 10 months ago
(2017-01-31 06:51:52 UTC)
#24
On 2017/01/31 06:51:52, commit-bot: I haz the power wrote: > Committed patchset #3 (id:40001) as ...
3 years, 10 months ago
(2017-01-31 13:08:55 UTC)
#25
Message was sent while issue was closed.
On 2017/01/31 06:51:52, commit-bot: I haz the power wrote:
> Committed patchset #3 (id:40001) as
>
https://chromium.googlesource.com/chromium/src/+/a2c4dd1ab5ba1423bdb46bd4b011...
Its seems a bad solution ( performance wise )
You should understand when and why NetworkChangeNotifier does not work and only
then
get the latest device conditions
Pete Williamson
On 2017/01/31 13:08:55, RE66 wrote: > On 2017/01/31 06:51:52, commit-bot: I haz the power wrote: ...
3 years, 10 months ago
(2017-01-31 17:53:06 UTC)
#26
Message was sent while issue was closed.
On 2017/01/31 13:08:55, RE66 wrote:
> On 2017/01/31 06:51:52, commit-bot: I haz the power wrote:
> > Committed patchset #3 (id:40001) as
> >
>
https://chromium.googlesource.com/chromium/src/+/a2c4dd1ab5ba1423bdb46bd4b011...
>
> Its seems a bad solution ( performance wise )
> You should understand when and why NetworkChangeNotifier does not work and
only
> then
> get the latest device conditions
We do understand when NetworkChangeNotifier does not work for us, it does not
work anytime chrome is in the background. Our feature normally activates when
chrome is in the background.
We are not too concerned about performance since the call happens only about
once a minute or so when our feature is active, which is a very small percentage
of the time. Also, we anticipate removing two of the three JNI calls in the
near future depending on how the design of another component progresses.
Issue 2659813006: Always get device conditions from Java for every attempt.
(Closed)
Created 3 years, 10 months ago by Pete Williamson
Modified 3 years, 10 months ago
Reviewers: dewittj, dougarnett
Base URL:
Comments: 41