|
Implement ManifestManager to handle manifest in content/.
This can be used from the renderer process or the browser
process. Requesting the manifest can be done via one call, a
callback has to be passed and will run with the manifest
passed as parameter. A failure will return the empty
manifest.
Some more logic could be added like caching the manifest in
the browser process or keeping track of the manifest dirty
state in the browser process but those things can be added
transparently later.
BUG= 366145
Committed: https://crrev.com/efdca9d8f31e7aa0ce7cb7a2eff5f08dead2498b
Cr-Commit-Position: refs/heads/master@{#295085}
Total comments: 6
Total comments: 20
Total comments: 8
Total comments: 6
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+758 lines, -0 lines) |
Patch |
|
A |
content/browser/manifest/OWNERS
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/manifest/manifest_browsertest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
|
1 chunk |
+202 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/manifest/manifest_manager_host.h
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/browser/manifest/manifest_manager_host.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+121 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/browser/web_contents/web_contents_impl.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/common/content_message_generator.h
|
View
|
1
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/common/manifest_manager_messages.h
|
View
|
1
2
3
4
|
1 chunk |
+34 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/content_renderer.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_tests.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/public/browser/web_contents.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/common/manifest.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+5 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/common/manifest.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/public/renderer/render_frame_observer.h
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/manifest/manifest_manager.h
|
View
|
1
2
3
4
5
6
|
1 chunk |
+81 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/renderer/manifest/manifest_manager.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+140 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+11 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/404-manifest.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/dummy-manifest.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/dummy-manifest.json
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/dynamic-manifest.html
|
View
|
1
2
3
4
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/empty-manifest.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/empty-manifest.json
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/no-manifest.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+7 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/parse-error-manifest.html
|
View
|
1
2
3
4
5
6
7
10
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
|
A |
content/test/data/manifest/parse-error-manifest.json
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
ipc/ipc_message_start.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 27 (5 generated)
|