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

Unified Diff: ppapi/c/ppb_url_response_info.h

Issue 4747001: Move URLLoader, URLRequestInfo, and URLResponseInfo out of the dev directory... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/c/ppb_url_request_info.h ('k') | ppapi/c/trusted/ppb_url_loader_trusted.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/c/ppb_url_response_info.h
===================================================================
--- ppapi/c/ppb_url_response_info.h (revision 65458)
+++ ppapi/c/ppb_url_response_info.h (working copy)
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef PPAPI_C_DEV_PPB_URL_RESPONSE_INFO_DEV_H_
-#define PPAPI_C_DEV_PPB_URL_RESPONSE_INFO_DEV_H_
+#ifndef PPAPI_C_PPB_URL_RESPONSE_INFO_H_
+#define PPAPI_C_PPB_URL_RESPONSE_INFO_H_
#include "ppapi/c/pp_bool.h"
#include "ppapi/c/pp_resource.h"
@@ -16,11 +16,11 @@
PP_URLRESPONSEPROPERTY_STATUSCODE, // int32
PP_URLRESPONSEPROPERTY_STATUSLINE, // string
PP_URLRESPONSEPROPERTY_HEADERS // string, \n-delim
-} PP_URLResponseProperty_Dev;
+} PP_URLResponseProperty;
-#define PPB_URLRESPONSEINFO_DEV_INTERFACE "PPB_URLResponseInfo(Dev);0.2"
+#define PPB_URLRESPONSEINFO_INTERFACE "PPB_URLResponseInfo;1"
-struct PPB_URLResponseInfo_Dev {
+struct PPB_URLResponseInfo {
// Returns PP_TRUE if the given resource is an URLResponseInfo. Returns
// PP_FALSE if the resource is invalid or some type other than an
// URLResponseInfo.
@@ -29,7 +29,7 @@
// Gets a response property. Return PP_VarType_Void if an input parameter is
// invalid.
struct PP_Var (*GetProperty)(PP_Resource response,
- PP_URLResponseProperty_Dev property);
+ PP_URLResponseProperty property);
// Returns a FileRef pointing to the file containing the response body. This
// is only valid if PP_URLREQUESTPROPERTY_STREAMTOFILE was set on the
@@ -37,7 +37,7 @@
// until the URLLoader associated with this URLResponseInfo is closed or
// destroyed. Returns 0 if PP_URLREQUESTPROPERTY_STREAMTOFILE was not
// requested or if the URLLoader has not been opened yet.
- PP_Resource (*GetBody)(PP_Resource response);
+ PP_Resource (*GetBodyAsFileRef)(PP_Resource response);
};
-#endif // PPAPI_C_DEV_PPB_URL_RESPONSE_INFO_DEV_H_
+#endif // PPAPI_C_PPB_URL_RESPONSE_INFO_H_
« no previous file with comments | « ppapi/c/ppb_url_request_info.h ('k') | ppapi/c/trusted/ppb_url_loader_trusted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698