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

Issue 2664253005: [Omaha] Move most functionality to OmahaBase, add JobService (Closed)

Created:
3 years, 10 months ago by gone
Modified:
3 years, 9 months ago
Reviewers:
nyquist
CC:
chromium-reviews, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Omaha] Move most functionality to OmahaBase, add JobService * Move almost all pipeline functionality from OmahaClient to OmahaBase. Most of the code changes are strictly code moves, except for a change to make it easier to change what Delegate is being used. * Add a JobScheduler version of the OmahaClient IntentService called OmahaClientJobService. OmahaClient can't be renamed because we may potentially have outstanding alarms on the system that reference it. * Make OmahaClient be the IntentService that is triggered on Android L and lower, and OmahaClientJobScheduler be triggered on M and higher. BUG=680817 Review-Url: https://codereview.chromium.org/2664253005 Cr-Commit-Position: refs/heads/master@{#453504} Committed: https://chromium.googlesource.com/chromium/src/+/272eb7b955d8008142f9fd6615cea25161f684ac

Patch Set 1 #

Patch Set 2 : JobService joins the party #

Patch Set 3 : Rejigger the world for BackgroundTaskService #

Patch Set 4 : Use new BackgroundTasks #

Patch Set 5 : Cleanup #

Patch Set 6 : omaha #

Patch Set 7 : git cl try #

Patch Set 8 : omaha #

Patch Set 9 : DEPS #

Total comments: 4

Patch Set 10 : [Omaha] Move most functionality to OmahaBase, add JobService #

Patch Set 11 : [Omaha] Move most functionality to OmahaBase, add JobService #

Unified diffs Side-by-side diffs Delta from patch set Stats (+630 lines, -1273 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaBase.java View 1 2 3 4 5 chunks +410 lines, -9 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaClient.java View 1 2 3 1 chunk +3 lines, -416 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaDelegate.java View 1 2 3 2 chunks +12 lines, -18 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaDelegateBase.java View 3 chunks +10 lines, -14 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaDelegateImpl.java View 1 chunk +0 lines, -62 lines 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaService.java View 1 2 3 4 5 6 7 8 9 1 chunk +134 lines, -0 lines 0 comments Download
M chrome/android/java_sources.gni View 1 2 3 4 5 6 7 8 9 10 2 chunks +3 lines, -2 lines 0 comments Download
A + chrome/android/javatests/src/org/chromium/chrome/browser/omaha/OmahaBaseTest.java View 1 2 3 4 5 6 22 chunks +57 lines, -56 lines 0 comments Download
D chrome/android/javatests/src/org/chromium/chrome/browser/omaha/OmahaClientTest.java View 1 2 1 chunk +0 lines, -696 lines 0 comments Download
M components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler/TaskIds.java View 1 2 3 4 5 6 7 8 9 10 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 46 (35 generated)
gone
The bulk of the CL is really just a whole lot of code moving around, ...
3 years, 10 months ago (2017-02-03 20:00:10 UTC) #5
gone
WDYT of the general structure of the last patch, Tommy? Still need to test it, ...
3 years, 10 months ago (2017-02-08 02:29:47 UTC) #10
nyquist
This looks great! I'll aim to do what we discussed offline regarding the background service ...
3 years, 10 months ago (2017-02-14 09:29:21 UTC) #13
gone
Letting this run overnight, but it seems to be working with your new thing. I ...
3 years, 9 months ago (2017-02-27 08:32:50 UTC) #18
gone
Looks like the bots are finally happy. PTAL when you get a chance.
3 years, 9 months ago (2017-02-27 22:24:30 UTC) #31
nyquist
lgtm https://codereview.chromium.org/2664253005/diff/160001/chrome/android/java/DEPS File chrome/android/java/DEPS (right): https://codereview.chromium.org/2664253005/diff/160001/chrome/android/java/DEPS#newcode3 chrome/android/java/DEPS:3: "+components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler", FYI: Also added in https://codereview.chromium.org/2722503004/ https://codereview.chromium.org/2664253005/diff/160001/chrome/android/java/src/org/chromium/chrome/browser/omaha/OmahaService.java File ...
3 years, 9 months ago (2017-02-28 00:23:00 UTC) #34
gone
https://codereview.chromium.org/2664253005/diff/160001/chrome/android/java/DEPS File chrome/android/java/DEPS (right): https://codereview.chromium.org/2664253005/diff/160001/chrome/android/java/DEPS#newcode3 chrome/android/java/DEPS:3: "+components/background_task_scheduler/android/java/src/org/chromium/components/background_task_scheduler", On 2017/02/28 00:23:00, nyquist wrote: > FYI: Also ...
3 years, 9 months ago (2017-02-28 00:35:14 UTC) #35
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/2664253005/180001
3 years, 9 months ago (2017-02-28 00:39:58 UTC) #38
commit-bot: I haz the power
Failed to apply patch for chrome/android/java/DEPS: While running git apply --index -p1; error: patch failed: ...
3 years, 9 months ago (2017-02-28 02:57:02 UTC) #40
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/2664253005/200001
3 years, 9 months ago (2017-02-28 03:29:01 UTC) #43
commit-bot: I haz the power
3 years, 9 months ago (2017-02-28 05:08:31 UTC) #46
Message was sent while issue was closed.
Committed patchset #11 (id:200001) as
https://chromium.googlesource.com/chromium/src/+/272eb7b955d8008142f9fd6615ce...

Powered by Google App Engine
This is Rietveld 408576698