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

Unified Diff: ppapi/cpp/url_loader.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/module.cc ('k') | ppapi/cpp/url_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/url_loader.h
===================================================================
--- ppapi/cpp/url_loader.h (revision 65458)
+++ ppapi/cpp/url_loader.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_CPP_DEV_URL_LOADER_DEV_H_
-#define PPAPI_CPP_DEV_URL_LOADER_DEV_H_
+#ifndef PPAPI_CPP_URL_LOADER_H_
+#define PPAPI_CPP_URL_LOADER_H_
#include "ppapi/c/pp_stdint.h"
#include "ppapi/cpp/resource.h"
@@ -12,8 +12,8 @@
class CompletionCallback;
class Instance;
-class URLRequestInfo_Dev;
-class URLResponseInfo_Dev;
+class URLRequestInfo;
+class URLResponseInfo;
// URLLoader provides an API to download URLs.
//
@@ -75,27 +75,24 @@
// bool did_open_;
// };
//
-class URLLoader_Dev : public Resource {
+class URLLoader : public Resource {
public:
// Creates an is_null() URLLoader object.
- URLLoader_Dev() {}
+ URLLoader() {}
- explicit URLLoader_Dev(PP_Resource resource);
- explicit URLLoader_Dev(const Instance& instance);
- URLLoader_Dev(const URLLoader_Dev& other);
+ explicit URLLoader(PP_Resource resource);
+ explicit URLLoader(const Instance& instance);
+ URLLoader(const URLLoader& other);
- URLLoader_Dev& operator=(const URLLoader_Dev& other);
- void swap(URLLoader_Dev& other);
-
// PPB_URLLoader methods:
- int32_t Open(const URLRequestInfo_Dev& request_info,
+ int32_t Open(const URLRequestInfo& request_info,
const CompletionCallback& cc);
int32_t FollowRedirect(const CompletionCallback& cc);
bool GetUploadProgress(int64_t* bytes_sent,
int64_t* total_bytes_to_be_sent) const;
bool GetDownloadProgress(int64_t* bytes_received,
int64_t* total_bytes_to_be_received) const;
- URLResponseInfo_Dev GetResponseInfo() const;
+ URLResponseInfo GetResponseInfo() const;
int32_t ReadResponseBody(char* buffer,
int32_t bytes_to_read,
const CompletionCallback& cc);
@@ -105,4 +102,4 @@
} // namespace pp
-#endif // PPAPI_CPP_DEV_URL_LOADER_DEV_H_
+#endif // PPAPI_CPP_URL_LOADER_H_
« no previous file with comments | « ppapi/cpp/module.cc ('k') | ppapi/cpp/url_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698