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

Unified Diff: ppapi/cpp/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/cpp/url_request_info.cc ('k') | ppapi/cpp/url_response_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ppapi/cpp/url_request_info.cc ('k') | ppapi/cpp/url_response_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698