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

Unified Diff: ppapi/cpp/file_system.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/file_ref.cc ('k') | ppapi/cpp/file_system.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/file_system.h
diff --git a/ppapi/cpp/file_system.h b/ppapi/cpp/file_system.h
index 73b4813a0c3300d54aa4581b8ad6873d8b70be49..8aea7a555c5fb3ae6a1981df7293738211de609a 100644
--- a/ppapi/cpp/file_system.h
+++ b/ppapi/cpp/file_system.h
@@ -30,11 +30,12 @@ class FileSystem : public Resource {
/// This constructor creates a file system object of the given type.
///
- /// @param[in] instance A <code>Instance</code> identifying the instance
- /// with the file.
+ /// @param[in] instance The instance with which this resource will be
+ /// associated.
+ ///
/// @param[in] type A file system type as defined by
/// <code>PP_FileSystemType</code> enum.
- FileSystem(Instance* instance, PP_FileSystemType type);
+ FileSystem(const InstanceHandle& instance, PP_FileSystemType type);
/// Open() opens the file system. A file system must be opened before running
/// any other operation on it.
« no previous file with comments | « ppapi/cpp/file_ref.cc ('k') | ppapi/cpp/file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698