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

Side by Side Diff: ppapi/c/ppb_url_loader.h

Issue 7701004: Fixed spelling errors and changed all references to PP_Resource to be the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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/c/ppb_instance.h ('k') | ppapi/c/ppb_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 5
6 /* From ppb_url_loader.idl modified Wed Aug 24 20:48:35 2011. */ 6 /* From ppb_url_loader.idl modified Mon Aug 29 10:11:34 2011. */
7 7
8 #ifndef PPAPI_C_PPB_URL_LOADER_H_ 8 #ifndef PPAPI_C_PPB_URL_LOADER_H_
9 #define PPAPI_C_PPB_URL_LOADER_H_ 9 #define PPAPI_C_PPB_URL_LOADER_H_
10 10
11 #include "ppapi/c/pp_bool.h" 11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_completion_callback.h" 12 #include "ppapi/c/pp_completion_callback.h"
13 #include "ppapi/c/pp_instance.h" 13 #include "ppapi/c/pp_instance.h"
14 #include "ppapi/c/pp_macros.h" 14 #include "ppapi/c/pp_macros.h"
15 #include "ppapi/c/pp_resource.h" 15 #include "ppapi/c/pp_resource.h"
16 #include "ppapi/c/pp_stdint.h" 16 #include "ppapi/c/pp_stdint.h"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 * - Then, access the downloaded file using the GetBodyAsFileRef() function of 48 * - Then, access the downloaded file using the GetBodyAsFileRef() function of
49 * the <code>URLResponseInfo</code> returned in step #4. 49 * the <code>URLResponseInfo</code> returned in step #4.
50 */ 50 */
51 struct PPB_URLLoader { 51 struct PPB_URLLoader {
52 /** 52 /**
53 * Create() creates a new <code>URLLoader</code> object. The 53 * Create() creates a new <code>URLLoader</code> object. The
54 * <code>URLLoader</code> is associated with a particular instance, so that 54 * <code>URLLoader</code> is associated with a particular instance, so that
55 * any UI dialogs that need to be shown to the user can be positioned 55 * any UI dialogs that need to be shown to the user can be positioned
56 * relative to the window containing the instance. 56 * relative to the window containing the instance.
57 * 57 *
58 * @param[in] instance A <code>PP_Instance</code> indentifying one instance 58 * @param[in] instance A <code>PP_Instance</code> identifying one instance
59 * of a module. 59 * of a module.
60 * 60 *
61 * @return A <code>PP_Resource</code> corresponding to a URLLoader if 61 * @return A <code>PP_Resource</code> corresponding to a URLLoader if
62 * successful, 0 if the instance is invalid. 62 * successful, 0 if the instance is invalid.
63 */ 63 */
64 PP_Resource (*Create)(PP_Instance instance); 64 PP_Resource (*Create)(PP_Instance instance);
65 /** 65 /**
66 * IsURLLoader() determines if a resource is an <code>URLLoader</code>. 66 * IsURLLoader() determines if a resource is an <code>URLLoader</code>.
67 * 67 *
68 * @param[in] resource A <code>PP_Resource</code> corresponding to a 68 * @param[in] resource A <code>PP_Resource</code> corresponding to a
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 * <code>URLLoader</code>. 215 * <code>URLLoader</code>.
216 */ 216 */
217 void (*Close)(PP_Resource loader); 217 void (*Close)(PP_Resource loader);
218 }; 218 };
219 /** 219 /**
220 * @} 220 * @}
221 */ 221 */
222 222
223 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */ 223 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */
224 224
OLDNEW
« no previous file with comments | « ppapi/c/ppb_instance.h ('k') | ppapi/c/ppb_url_request_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698