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

Issue 6652014: Pepper: Add a property to URLRequestInfo to skip header validation. (Closed)

Created:
9 years, 9 months ago by viettrungluu
Modified:
9 years, 6 months ago
Reviewers:
brettw, piman
CC:
chromium-reviews, piman+watch_chromium.org, darin-cc_chromium.org
Visibility:
Public.

Description

Pepper: Add a property to URLRequestInfo to skip header validation. The resulting URLRequestInfo is then only usable with a (trusted) URLLoader which has universal access. BUG=75350 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=78047

Patch Set 1 #

Total comments: 3

Patch Set 2 : redesign #

Total comments: 1

Patch Set 3 : added comment #

Patch Set 4 : used undefined var to unset #

Total comments: 8

Patch Set 5 : changes per brettw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+78 lines, -18 lines) Patch
M ppapi/c/ppb_url_request_info.h View 1 2 3 4 1 chunk +11 lines, -1 line 0 comments Download
M ppapi/cpp/url_request_info.h View 1 2 3 1 chunk +4 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_loader_impl.cc View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_request_info_impl.h View 1 2 3 4 3 chunks +11 lines, -0 lines 0 comments Download
M webkit/plugins/ppapi/ppb_url_request_info_impl.cc View 1 2 3 4 6 chunks +49 lines, -17 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
viettrungluu
9 years, 9 months ago (2011-03-09 01:52:54 UTC) #1
piman
http://codereview.chromium.org/6652014/diff/1/webkit/plugins/ppapi/ppb_url_request_info_impl.cc File webkit/plugins/ppapi/ppb_url_request_info_impl.cc (right): http://codereview.chromium.org/6652014/diff/1/webkit/plugins/ppapi/ppb_url_request_info_impl.cc#newcode248 webkit/plugins/ppapi/ppb_url_request_info_impl.cc:248: if (!universal_access_ && !AreValidHeaders(value)) I'm not sure we'd want ...
9 years, 9 months ago (2011-03-09 02:10:10 UTC) #2
viettrungluu
http://codereview.chromium.org/6652014/diff/1/webkit/plugins/ppapi/ppb_url_request_info_impl.cc File webkit/plugins/ppapi/ppb_url_request_info_impl.cc (right): http://codereview.chromium.org/6652014/diff/1/webkit/plugins/ppapi/ppb_url_request_info_impl.cc#newcode321 webkit/plugins/ppapi/ppb_url_request_info_impl.cc:321: frame->setReferrerForRequest(web_request, WebURL()); // Use default. On 2011/03/09 02:10:10, piman ...
9 years, 9 months ago (2011-03-09 02:16:35 UTC) #3
brettw
My feedback over IM was that currently all security restrictions are done based on what ...
9 years, 9 months ago (2011-03-09 03:32:06 UTC) #4
viettrungluu
How about this?
9 years, 9 months ago (2011-03-11 19:19:48 UTC) #5
brettw
I like this better. http://codereview.chromium.org/6652014/diff/5001/ppapi/c/ppb_url_request_info.h File ppapi/c/ppb_url_request_info.h (right): http://codereview.chromium.org/6652014/diff/5001/ppapi/c/ppb_url_request_info.h#newcode51 ppapi/c/ppb_url_request_info.h:51: PP_URLREQUESTPROPERTY_USECUSTOMREFERRER, Why do you need ...
9 years, 9 months ago (2011-03-11 20:34:44 UTC) #6
viettrungluu
On 2011/03/11 20:34:44, brettw wrote: > I like this better. > > http://codereview.chromium.org/6652014/diff/5001/ppapi/c/ppb_url_request_info.h > File ...
9 years, 9 months ago (2011-03-11 20:47:16 UTC) #7
brettw
What about having an Undefined var vs. an empty string var? This would at least ...
9 years, 9 months ago (2011-03-11 21:01:39 UTC) #8
viettrungluu
On 2011/03/11 21:01:39, brettw wrote: > What about having an Undefined var vs. an empty ...
9 years, 9 months ago (2011-03-11 21:02:53 UTC) #9
viettrungluu
On 2011/03/11 21:02:53, viettrungluu wrote: > On 2011/03/11 21:01:39, brettw wrote: > > What about ...
9 years, 9 months ago (2011-03-11 21:34:48 UTC) #10
brettw
http://codereview.chromium.org/6652014/diff/11001/ppapi/c/ppb_url_request_info.h File ppapi/c/ppb_url_request_info.h (right): http://codereview.chromium.org/6652014/diff/11001/ppapi/c/ppb_url_request_info.h#newcode61 ppapi/c/ppb_url_request_info.h:61: #define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.3" I don't really want to break ...
9 years, 9 months ago (2011-03-11 23:31:05 UTC) #11
viettrungluu
http://codereview.chromium.org/6652014/diff/11001/ppapi/c/ppb_url_request_info.h File ppapi/c/ppb_url_request_info.h (right): http://codereview.chromium.org/6652014/diff/11001/ppapi/c/ppb_url_request_info.h#newcode61 ppapi/c/ppb_url_request_info.h:61: #define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.3" On 2011/03/11 23:31:05, brettw wrote: > ...
9 years, 9 months ago (2011-03-14 17:13:53 UTC) #12
brettw
LGTM
9 years, 9 months ago (2011-03-14 17:15:26 UTC) #13
brettw
9 years, 9 months ago (2011-03-14 17:15:26 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698