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

Issue 10886047: Pepper: Add a X-Requested-With header to URL requests done for Pepper plugins. (Closed)

Created:
8 years, 3 months ago by viettrungluu
Modified:
6 years, 3 months ago
CC:
chromium-reviews, joi+watch-content_chromium.org, darin-cc_chromium.org, jam
Visibility:
Public.

Description

Pepper: Add a X-Requested-With header to URL requests done for Pepper plugins. The header contains the name and version of the plugin. (It'll be done for NPAPI separately.) BUG=145090

Patch Set 1 #

Patch Set 2 : added test #

Patch Set 3 : new version (not ready yet) #

Patch Set 4 : foo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+127 lines, -29 lines) Patch
M chrome/test/ppapi/ppapi_test.cc View 1 2 1 chunk +7 lines, -2 lines 0 comments Download
M content/common/pepper_plugin_registry.cc View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M content/common/request_extra_data.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/common/request_extra_data.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M content/common/resource_dispatcher_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/pepper/pepper_plugin_delegate_impl.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/pepper/pepper_url_request_unittest.cc View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 3 1 chunk +14 lines, -2 lines 0 comments Download
M ppapi/tests/test_url_loader.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M ppapi/tests/test_url_loader.cc View 1 2 1 chunk +12 lines, -0 lines 0 comments Download
M webkit/glue/weburlrequest_extradata_impl.h View 1 2 3 1 chunk +7 lines, -3 lines 0 comments Download
M webkit/glue/weburlrequest_extradata_impl.cc View 1 2 1 chunk +4 lines, -2 lines 0 comments Download
M webkit/plugins/ppapi/plugin_module.h View 1 2 3 chunks +4 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/plugin_module.cc View 1 2 3 chunks +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppapi_plugin_instance.cc View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/ppapi_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.cc View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/url_request_info_util.h View 1 2 3 chunks +3 lines, -1 line 0 comments Download
M webkit/plugins/ppapi/url_request_info_util.cc View 1 2 3 3 chunks +53 lines, -6 lines 0 comments Download
M webkit/support/webkit_support.cc View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M webkit/tools/test_shell/test_webview_delegate.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
viettrungluu
8 years, 3 months ago (2012-08-29 21:04:13 UTC) #1
jschuh
On 2012/08/29 21:04:13, viettrungluu wrote: lgtm, but it really should have a test (though that ...
8 years, 3 months ago (2012-08-29 21:14:03 UTC) #2
brettw
Can you discuss with somebody familiar with the test server to see if this can ...
8 years, 3 months ago (2012-08-30 05:30:49 UTC) #3
viettrungluu
On 2012/08/30 05:30:49, brettw wrote: > Can you discuss with somebody familiar with the test ...
8 years, 3 months ago (2012-08-30 17:40:02 UTC) #4
brettw
It seems like we should just set the name then.
8 years, 3 months ago (2012-08-30 17:54:11 UTC) #5
viettrungluu
On 2012/08/30 17:54:11, brettw wrote: > It seems like we should just set the name ...
8 years, 3 months ago (2012-08-30 22:20:28 UTC) #6
brettw
LGTM, thanks for figuring out the test stuff.
8 years, 3 months ago (2012-08-30 23:04:32 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/viettrungluu@chromium.org/10886047/9001
8 years, 3 months ago (2012-08-31 17:30:51 UTC) #8
commit-bot: I haz the power
Try job failure for 10886047-9001 (retry) on mac_rel for steps "nacl_integration, browser_tests". It's a second ...
8 years, 3 months ago (2012-08-31 19:22:35 UTC) #9
viettrungluu
Crap, this breaks CORS from Pepper. I'm going to have to rework a bunch of ...
8 years, 3 months ago (2012-08-31 22:56:22 UTC) #10
viettrungluu
jschuh, brettw: PTAL (after 3+ months). (I also enforced a user-agent-like format for the value ...
8 years ago (2012-12-17 20:53:17 UTC) #11
viettrungluu
(Look at Patch Set 4, that is.)
8 years ago (2012-12-17 20:57:51 UTC) #12
jschuh
lgtm
8 years ago (2012-12-17 21:12:48 UTC) #13
brettw
lgtm
8 years ago (2012-12-17 23:02:55 UTC) #14
darin (slow to review)
Trung and I spoke in person about this. I don't feel comfortable adding this header ...
8 years ago (2012-12-18 00:50:03 UTC) #15
Tom Sepez
Sooo ... If we were to revive this approach, but only for the Flash plugin, ...
6 years, 5 months ago (2014-07-22 19:49:29 UTC) #16
darin (slow to review)
6 years, 5 months ago (2014-07-22 20:35:44 UTC) #17
On 2014/07/22 19:49:29, Tom Sepez wrote:
> Sooo ... If we were to revive this approach, but only for the Flash plugin,
> would that make folks more comfortable?

I'm OK doing whatever with Flash.

Powered by Google App Engine
This is Rietveld 408576698