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

Side by Side Diff: webkit/plugins/ppapi/ppb_url_request_info_impl.h

Issue 6882125: Pepper: Enable custom content-transfer-encoding header to be set in URL requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 8 months 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 5 #ifndef WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 6 #define WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 // |has_custom_referrer_url_| is set to false if a custom referrer hasn't been 77 // |has_custom_referrer_url_| is set to false if a custom referrer hasn't been
78 // set (or has been set to an Undefined Var) and the default referrer should 78 // set (or has been set to an Undefined Var) and the default referrer should
79 // be used. (Setting the custom referrer to an empty string indicates that no 79 // be used. (Setting the custom referrer to an empty string indicates that no
80 // referrer header should be generated.) 80 // referrer header should be generated.)
81 bool has_custom_referrer_url_; 81 bool has_custom_referrer_url_;
82 std::string custom_referrer_url_; 82 std::string custom_referrer_url_;
83 83
84 bool allow_cross_origin_requests_; 84 bool allow_cross_origin_requests_;
85 bool allow_credentials_; 85 bool allow_credentials_;
86 86
87 // Similar to the custom referrer (above), but for custom content transfer
88 // encoding.
89 bool has_custom_content_transfer_encoding_;
90 std::string custom_content_transfer_encoding_;
91
87 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl); 92 DISALLOW_COPY_AND_ASSIGN(PPB_URLRequestInfo_Impl);
88 }; 93 };
89 94
90 } // namespace ppapi 95 } // namespace ppapi
91 } // namespace webkit 96 } // namespace webkit
92 97
93 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_ 98 #endif // WEBKIT_PLUGINS_PPAPI_PPB_URL_REQUEST_INFO_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698