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

Issue 2678273003: Initial framework setup and skeleton for BackgroundFetchContext (Closed)

Created:
3 years, 10 months ago by harkness
Modified:
3 years, 10 months ago
CC:
chromium-reviews, jam, darin-cc_chromium.org, awdf
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Initial framework setup and skeleton for BackgroundFetchContext The Background Fetch system will be a service worker based mechanism for allowing persistent and reliable uploads and downloads. This CL sets up some of the very basic framework, including the directory and BackgroundFetchContext, which will be the main dispatcher for the service. Once this CL is in place, future CLs will quickly iterate adding specific functionality. BUG=679300 Review-Url: https://codereview.chromium.org/2678273003 Cr-Commit-Position: refs/heads/master@{#450785} Committed: https://chromium.googlesource.com/chromium/src/+/7b36c43b8d390438422b8fcaaeaf97cb15f8e625

Patch Set 1 #

Total comments: 8

Patch Set 2 : fixed nits #

Patch Set 3 : Add service worker observation #

Total comments: 9

Patch Set 4 : Add BackgroundFetchDataManager, FetchRequest, BackgroundFetchDataObserver (currently unused) and th… #

Patch Set 5 : Remove BackgroundFetchDownloadObserver until it's used. #

Total comments: 37

Patch Set 6 : Updated with code review comments #

Patch Set 7 : Remove observations for service worker context wrapper #

Total comments: 14

Patch Set 8 : Removed service worker observation and other code review nits #

Patch Set 9 : Removed unused browser_context_ stored member. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+341 lines, -0 lines) Patch
M content/browser/BUILD.gn View 1 2 3 4 1 chunk +6 lines, -0 lines 0 comments Download
A content/browser/background_fetch/OWNERS View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_context.h View 1 2 3 4 5 6 7 8 1 chunk +57 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_context.cc View 1 2 3 4 5 6 7 8 1 chunk +50 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_data_manager.h View 1 2 3 4 5 6 7 1 chunk +48 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_data_manager.cc View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
A content/browser/background_fetch/background_fetch_data_manager_unittest.cc View 1 2 3 4 5 6 7 1 chunk +58 lines, -0 lines 0 comments Download
A content/browser/background_fetch/fetch_request.h View 1 2 3 4 5 6 7 1 chunk +46 lines, -0 lines 0 comments Download
A content/browser/background_fetch/fetch_request.cc View 1 2 3 4 5 6 7 1 chunk +35 lines, -0 lines 0 comments Download
M content/test/BUILD.gn View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 25 (11 generated)
harkness
3 years, 10 months ago (2017-02-07 18:23:31 UTC) #2
Peter Beverloo
Is there some basic piece of functionality that we can add in on this patch? ...
3 years, 10 months ago (2017-02-08 12:20:25 UTC) #3
harkness
Minor functionality added (service worker observation). I'm happy to add more before committing, but the ...
3 years, 10 months ago (2017-02-08 16:30:42 UTC) #4
Peter Beverloo
A few nits. Let's include the metadata management bit in here too then. This is ...
3 years, 10 months ago (2017-02-09 15:48:55 UTC) #5
harkness
None of this is really final, and a lot is unused at the moment, so ...
3 years, 10 months ago (2017-02-13 17:20:05 UTC) #6
Peter Beverloo
I'm OK with iterating in-tree, modulo the following comments: - Let's not *add* our Service ...
3 years, 10 months ago (2017-02-13 18:35:06 UTC) #7
harkness
I removed the Add/Remove observer calls. Ideally we'd like to get those off the UI ...
3 years, 10 months ago (2017-02-14 13:52:47 UTC) #8
Peter Beverloo
lgtm % comments Please clarify in the CL description that your intention is to build ...
3 years, 10 months ago (2017-02-14 15:05:53 UTC) #9
harkness
@avi - could you take a look at this please? This is the first of ...
3 years, 10 months ago (2017-02-15 13:48:45 UTC) #13
Avi (use Gerrit)
lgtm Best of luck in building this.
3 years, 10 months ago (2017-02-15 15:15:33 UTC) #14
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/2678273003/130001
3 years, 10 months ago (2017-02-15 15:50:10 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_clang on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_clang/builds/170720)
3 years, 10 months ago (2017-02-15 17:04:46 UTC) #19
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/2678273003/150001
3 years, 10 months ago (2017-02-15 18:29:55 UTC) #22
commit-bot: I haz the power
3 years, 10 months ago (2017-02-15 20:07:34 UTC) #25
Message was sent while issue was closed.
Committed patchset #9 (id:150001) as
https://chromium.googlesource.com/chromium/src/+/7b36c43b8d390438422b8fcaaeaf...

Powered by Google App Engine
This is Rietveld 408576698