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

Side by Side Diff: ppapi/cpp/url_request_info.h

Issue 13220002: [PPAPI] Fix a bunch of spelling mistakes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
« no previous file with comments | « ppapi/cpp/url_loader.h ('k') | ppapi/cpp/url_response_info.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 PPAPI_CPP_URL_REQUEST_INFO_H_ 5 #ifndef PPAPI_CPP_URL_REQUEST_INFO_H_
6 #define PPAPI_CPP_URL_REQUEST_INFO_H_ 6 #define PPAPI_CPP_URL_REQUEST_INFO_H_
7 7
8 #include "ppapi/c/ppb_url_request_info.h" 8 #include "ppapi/c/ppb_url_request_info.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 #include "ppapi/cpp/var.h" 10 #include "ppapi/cpp/var.h"
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 /// @return true if successful, false if the parameter is invalid. 123 /// @return true if successful, false if the parameter is invalid.
124 bool SetMethod(const Var& method_string) { 124 bool SetMethod(const Var& method_string) {
125 return SetProperty(PP_URLREQUESTPROPERTY_METHOD, method_string); 125 return SetProperty(PP_URLREQUESTPROPERTY_METHOD, method_string);
126 } 126 }
127 127
128 /// SetHeaders() sets the <code>PP_URLREQUESTPROPERTY_HEADERS</code> 128 /// SetHeaders() sets the <code>PP_URLREQUESTPROPERTY_HEADERS</code>
129 /// (corresponding to a <code>\n</code> delimited string of type 129 /// (corresponding to a <code>\n</code> delimited string of type
130 /// <code>PP_VARTYPE_STRING</code>) property for the request. 130 /// <code>PP_VARTYPE_STRING</code>) property for the request.
131 /// Refer to the 131 /// Refer to the
132 /// <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header 132 /// <a href="http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html"Header
133 /// Field Definitions</a> documentaiton for further information. 133 /// Field Definitions</a> documentation for further information.
134 /// 134 ///
135 /// @param[in] headers_string A <code>Var</code> containing the property 135 /// @param[in] headers_string A <code>Var</code> containing the property
136 /// value. 136 /// value.
137 /// 137 ///
138 /// @return true if successful, false if the parameter is invalid. 138 /// @return true if successful, false if the parameter is invalid.
139 bool SetHeaders(const Var& headers_string) { 139 bool SetHeaders(const Var& headers_string) {
140 return SetProperty(PP_URLREQUESTPROPERTY_HEADERS, headers_string); 140 return SetProperty(PP_URLREQUESTPROPERTY_HEADERS, headers_string);
141 } 141 }
142 142
143 /// SetStreamToFile() sets the 143 /// SetStreamToFile() sets the
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 /// 325 ///
326 /// @return true if successful, false if the parameter is invalid. 326 /// @return true if successful, false if the parameter is invalid.
327 bool SetCustomUserAgent(const Var& user_agent) { 327 bool SetCustomUserAgent(const Var& user_agent) {
328 return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMUSERAGENT, user_agent); 328 return SetProperty(PP_URLREQUESTPROPERTY_CUSTOMUSERAGENT, user_agent);
329 } 329 }
330 }; 330 };
331 331
332 } // namespace pp 332 } // namespace pp
333 333
334 #endif // PPAPI_CPP_URL_REQUEST_INFO_H_ 334 #endif // PPAPI_CPP_URL_REQUEST_INFO_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/url_loader.h ('k') | ppapi/cpp/url_response_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698