summaryrefslogtreecommitdiffstats
path: root/ppapi/cpp/file_system.h
diff options
context:
space:
mode:
authorbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 20:23:19 +0000
committerbrettw@chromium.org <brettw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 20:23:19 +0000
commit09af0f7661d6a5971804c9a8ec47bbd038a5de78 (patch)
treef2c56e46b629df59a3a1781ac54a7d43d170ea31 /ppapi/cpp/file_system.h
parent7e26ac973ede2fd0576d40086a437a3177668ea1 (diff)
downloadchromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.zip
chromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.tar.gz
chromium_src-09af0f7661d6a5971804c9a8ec47bbd038a5de78.tar.bz2
Convert resources to take an instance key instead of an Instance*.
Review URL: https://chromiumcodereview.appspot.com/9381010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ppapi/cpp/file_system.h')
-rw-r--r--ppapi/cpp/file_system.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ppapi/cpp/file_system.h b/ppapi/cpp/file_system.h
index 73b4813..8aea7a5 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.