| Index: ppapi/cpp/url_response_info.h
|
| ===================================================================
|
| --- ppapi/cpp/url_response_info.h (revision 65458)
|
| +++ ppapi/cpp/url_response_info.h (working copy)
|
| @@ -2,10 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#ifndef PPAPI_CPP_DEV_URL_RESPONSE_INFO_DEV_H_
|
| -#define PPAPI_CPP_DEV_URL_RESPONSE_INFO_DEV_H_
|
| +#ifndef PPAPI_CPP_URL_RESPONSE_INFO_H_
|
| +#define PPAPI_CPP_URL_RESPONSE_INFO_H_
|
|
|
| -#include "ppapi/c/dev/ppb_url_response_info_dev.h"
|
| +#include "ppapi/c/ppb_url_response_info.h"
|
| #include "ppapi/cpp/resource.h"
|
| #include "ppapi/cpp/var.h"
|
|
|
| @@ -13,24 +13,21 @@
|
|
|
| class FileRef_Dev;
|
|
|
| -class URLResponseInfo_Dev : public Resource {
|
| +class URLResponseInfo : public Resource {
|
| public:
|
| // Creates an is_null() URLResponseInfo object.
|
| - URLResponseInfo_Dev() {}
|
| + URLResponseInfo() {}
|
|
|
| // This constructor is used when we've gotten a PP_Resource as a return value
|
| // that has already been addref'ed for us.
|
| struct PassRef {};
|
| - URLResponseInfo_Dev(PassRef, PP_Resource resource);
|
| + URLResponseInfo(PassRef, PP_Resource resource);
|
|
|
| - URLResponseInfo_Dev(const URLResponseInfo_Dev& other);
|
| + URLResponseInfo(const URLResponseInfo& other);
|
|
|
| - URLResponseInfo_Dev& operator=(const URLResponseInfo_Dev& other);
|
| - void swap(URLResponseInfo_Dev& other);
|
| -
|
| // PPB_URLResponseInfo methods:
|
| - Var GetProperty(PP_URLResponseProperty_Dev property) const;
|
| - FileRef_Dev GetBody() const;
|
| + Var GetProperty(PP_URLResponseProperty property) const;
|
| + FileRef_Dev GetBodyAsFileRef() const;
|
|
|
| // Convenient helpers for getting properties:
|
| Var GetURL() const {
|
| @@ -55,4 +52,4 @@
|
|
|
| } // namespace pp
|
|
|
| -#endif // PPAPI_CPP_DEV_URL_RESPONSE_INFO_DEV_H_
|
| +#endif // PPAPI_CPP_URL_RESPONSE_INFO_H_
|
|
|