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

Unified Diff: ppapi/cpp/url_request_info.h

Issue 9381010: Convert resources to take an instance key instead of an Instance*. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: USELESS PATCH TITLE Created 8 years, 10 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/cpp/url_loader.cc ('k') | ppapi/cpp/url_request_info.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/url_request_info.h
diff --git a/ppapi/cpp/url_request_info.h b/ppapi/cpp/url_request_info.h
index 955ff217e93e636b9bf51ef6ed9eddc48f3d8664..49e47ae930155ef4dcaf6189429d997e5d3ecd1c 100644
--- a/ppapi/cpp/url_request_info.h
+++ b/ppapi/cpp/url_request_info.h
@@ -14,7 +14,7 @@
namespace pp {
class FileRef;
-class Instance;
+class InstanceHandle;
/// URLRequestInfo provides an API for creating and manipulating URL requests.
class URLRequestInfo : public Resource {
@@ -27,8 +27,9 @@ class URLRequestInfo : public Resource {
/// browser. The resulting object will be <code>is_null</code> if the
/// allocation failed.
///
- /// @param[in] instance An <code>Instance</code>.
- explicit URLRequestInfo(Instance* instance);
+ /// @param[in] instance The instance with which this resource will be
+ /// associated.
+ explicit URLRequestInfo(const InstanceHandle& instance);
/// The copy constructor for <code>URLRequestInfo</code>.
///
« no previous file with comments | « ppapi/cpp/url_loader.cc ('k') | ppapi/cpp/url_request_info.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698