|
Implement BackgroundFetchManager.fetch() and struct traits
This implements the BackgroundFetchManager.fetch() method and sends it
to the browser process over IPC. Struct traits have been added for three
C++ types that are analogous to the Web exposed types:
- BackgroundFetchOptions
The options provided by the developer when starting the fetch.
- BackgroundFetchRegistration
The data associated with an in-progress background fetch.
- IconDefinition
The data associated with an individual icon definition. This will
eventually move to a more generalized location.
What's still missing in the call is the sequence of Request objects.
BUG= 692534, 692535
Review-Url: https://codereview.chromium.org/2762573003
Cr-Commit-Position: refs/heads/master@{#459412}
Committed: https://chromium.googlesource.com/chromium/src/+/a1ab5a9bd84f0a1cf5ebbd322124152bb4cd1323
Total comments: 16
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+616 lines, -53 lines) |
Patch |
 |
M |
content/browser/background_fetch/OWNERS
|
View
|
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/background_fetch/background_fetch_service_impl.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/background_fetch/background_fetch_service_impl.cc
|
View
|
1
2
3
|
3 chunks |
+22 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/common/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+4 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/DEPS
|
View
|
1
2
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/OWNERS
|
View
|
|
1 chunk |
+10 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_struct_traits.h
|
View
|
1
|
1 chunk |
+82 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_struct_traits.cc
|
View
|
|
1 chunk |
+47 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_struct_traits_unittest.cc
|
View
|
1
2
3
|
1 chunk |
+99 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_types.h
|
View
|
1
2
3
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_types.cc
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/common/background_fetch/background_fetch_types.typemap
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/common/typemaps.gni
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
content/test/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BUILD.gn
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.h
|
View
|
1
2
3
|
5 chunks |
+11 lines, -6 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchBridge.cpp
|
View
|
1
2
3
|
5 chunks |
+19 lines, -31 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.h
|
View
|
1
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchManager.cpp
|
View
|
1
2
3
|
2 chunks |
+29 lines, -7 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.h
|
View
|
1
2
3
|
1 chunk |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchRegistration.cpp
|
View
|
1
2
3
|
2 chunks |
+7 lines, -3 lines |
2 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchTypeConverters.h
|
View
|
|
1 chunk |
+48 lines, -0 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/modules/background_fetch/BackgroundFetchTypeConverters.cpp
|
View
|
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/modules/background_fetch/OWNERS
|
View
|
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/public/platform/modules/background_fetch/background_fetch.mojom
|
View
|
1
2
3
|
1 chunk |
+24 lines, -3 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 32 (15 generated)
|