|
Plugin Power Saver: Improve origin handling esp. with OOPIF.
Patch does a few things:
1) Transitions PPS to use standardized url::Origin rules. Respects unique origins now.
2) Updates PPS code to use replicated origins in out of process iframes.
3) Updates the histogram to be more comprehensive.
4) Updates the browser test to not use Data URLs, which have a unique origin.
BUG= 530830
Committed: https://crrev.com/58e3172cca992309f1b99f14c0c57c7ebcff0339
Cr-Commit-Position: refs/heads/master@{#348935}
Total comments: 4
Total comments: 2
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+157 lines, -107 lines) |
Patch |
 |
M |
chrome/browser/plugins/OWNERS
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/plugins/plugin_power_saver_browsertest.cc
|
View
|
1
2
3
4
5
6
7
|
4 chunks |
+30 lines, -9 lines |
0 comments
|
Download
|
 |
M |
components/plugins/renderer/loadable_plugin_placeholder.cc
|
View
|
|
2 chunks |
+4 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/plugin_content_origin_whitelist.h
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/plugin_content_origin_whitelist.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/common/frame_messages.h
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/renderer/plugin_instance_throttler.h
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/public/renderer/render_frame.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/pepper_plugin_instance_impl.cc
|
View
|
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_instance_throttler_impl.h
|
View
|
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_instance_throttler_impl.cc
|
View
|
1
2
3
4
5
6
|
3 chunks |
+6 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper.h
|
View
|
1
2
3
4
|
5 chunks |
+11 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper.cc
|
View
|
1
2
3
4
|
7 chunks |
+13 lines, -27 lines |
0 comments
|
Download
|
 |
M |
content/renderer/pepper/plugin_power_saver_helper_browsertest.cc
|
View
|
1
2
3
4
|
6 chunks |
+61 lines, -42 lines |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.h
|
View
|
1
2
3
4
5
|
2 chunks |
+5 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/renderer/render_frame_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
tools/metrics/histograms/histograms.xml
|
View
|
1
2
3
4
5
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 40 (13 generated)
|