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

Unified Diff: webkit/plugins/ppapi/ppb_url_loader_impl.cc

Issue 8550002: Facebook : photo upload fails. Give PPB_URLLoader_Impl ability to send credentials when given uni... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/plugins/ppapi/ppb_url_loader_impl.cc
===================================================================
--- webkit/plugins/ppapi/ppb_url_loader_impl.cc (revision 109776)
+++ webkit/plugins/ppapi/ppb_url_loader_impl.cc (working copy)
@@ -130,13 +130,14 @@
request_data_ = request->GetData();
WebURLLoaderOptions options;
- options.allowCredentials = request_data_.allow_credentials;
if (has_universal_access_) {
+ options.allowCredentials = true;
options.crossOriginRequestPolicy =
WebURLLoaderOptions::CrossOriginRequestPolicyAllow;
} else {
// All other HTTP requests are untrusted.
options.untrustedHTTP = true;
+ options.allowCredentials = request_data_.allow_credentials;
if (request_data_.allow_cross_origin_requests) {
// Allow cross-origin requests with access control.
options.crossOriginRequestPolicy =
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698