| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |