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

Side by Side Diff: ppapi/cpp/url_loader.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/rect.cc ('k') | ppapi/cpp/url_request_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) 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 PPAPI_CPP_URL_LOADER_H_ 5 #ifndef PPAPI_CPP_URL_LOADER_H_
6 #define PPAPI_CPP_URL_LOADER_H_ 6 #define PPAPI_CPP_URL_LOADER_H_
7 7
8 #include "ppapi/c/pp_stdint.h" 8 #include "ppapi/c/pp_stdint.h"
9 #include "ppapi/cpp/resource.h" 9 #include "ppapi/cpp/resource.h"
10 10
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 47
48 /// This function begins loading the <code>URLRequestInfo</code>. 48 /// This function begins loading the <code>URLRequestInfo</code>.
49 /// The operation completes when response headers are received or when an 49 /// The operation completes when response headers are received or when an
50 /// error occurs. Use GetResponseInfo() to access the response 50 /// error occurs. Use GetResponseInfo() to access the response
51 /// headers. 51 /// headers.
52 /// 52 ///
53 /// @param[in] request_info A <code>URLRequestInfo</code> corresponding to a 53 /// @param[in] request_info A <code>URLRequestInfo</code> corresponding to a
54 /// URLRequestInfo. 54 /// URLRequestInfo.
55 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous 55 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
56 /// completion of Open(). This callback will run when response 56 /// completion of Open(). This callback will run when response
57 /// headers for the url are received or error occured. This callback 57 /// headers for the url are received or error occurred. This callback
58 /// will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>. 58 /// will only run if Open() returns <code>PP_OK_COMPLETIONPENDING</code>.
59 /// 59 ///
60 /// @return An int32_t containing an error code from 60 /// @return An int32_t containing an error code from
61 /// <code>pp_errors.h</code>. 61 /// <code>pp_errors.h</code>.
62 int32_t Open(const URLRequestInfo& request_info, 62 int32_t Open(const URLRequestInfo& request_info,
63 const CompletionCallback& cc); 63 const CompletionCallback& cc);
64 64
65 /// This function can be invoked to follow a 65 /// This function can be invoked to follow a
66 /// redirect after Open() completed on receiving redirect headers. 66 /// redirect after Open() completed on receiving redirect headers.
67 /// 67 ///
68 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous 68 /// @param[in] cc A <code>CompletionCallback</code> to run on asynchronous
69 /// completion of FollowRedirect(). This callback will run when response 69 /// completion of FollowRedirect(). This callback will run when response
70 /// headers for the redirect url are received or error occured. This callback 70 /// headers for the redirect url are received or error occurred. This callback
71 /// will only run if FollowRedirect() returns 71 /// will only run if FollowRedirect() returns
72 /// <code>PP_OK_COMPLETIONPENDING</code>. 72 /// <code>PP_OK_COMPLETIONPENDING</code>.
73 /// 73 ///
74 /// @return An int32_t containing an error code from 74 /// @return An int32_t containing an error code from
75 /// <code>pp_errors.h</code>. 75 /// <code>pp_errors.h</code>.
76 int32_t FollowRedirect(const CompletionCallback& cc); 76 int32_t FollowRedirect(const CompletionCallback& cc);
77 77
78 /// This function returns the current upload progress (which is only 78 /// This function returns the current upload progress (which is only
79 /// meaningful after Open() has been called). Progress only refers to the 79 /// meaningful after Open() has been called). Progress only refers to the
80 /// request body and does not include the headers. 80 /// request body and does not include the headers.
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 /// 159 ///
160 /// <strong>Note:</strong> If the <code>URLLoader</code> object is destroyed 160 /// <strong>Note:</strong> If the <code>URLLoader</code> object is destroyed
161 /// while it is still open, then it will be implicitly closed so you are not 161 /// while it is still open, then it will be implicitly closed so you are not
162 /// required to call Close(). 162 /// required to call Close().
163 void Close(); 163 void Close();
164 }; 164 };
165 165
166 } // namespace pp 166 } // namespace pp
167 167
168 #endif // PPAPI_CPP_URL_LOADER_H_ 168 #endif // PPAPI_CPP_URL_LOADER_H_
OLDNEW
« no previous file with comments | « ppapi/cpp/rect.cc ('k') | ppapi/cpp/url_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698