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

Unified Diff: ppapi/cpp/dev/file_chooser_dev.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/dev/device_ref_dev.cc ('k') | ppapi/cpp/dev/file_chooser_dev.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/file_chooser_dev.h
diff --git a/ppapi/cpp/dev/file_chooser_dev.h b/ppapi/cpp/dev/file_chooser_dev.h
index ec0a6d5625ebfb96019299388e9158b779fe26ca..c2abc703073e71da43b57e9ee424d4272f8a64c9 100644
--- a/ppapi/cpp/dev/file_chooser_dev.h
+++ b/ppapi/cpp/dev/file_chooser_dev.h
@@ -12,7 +12,7 @@ namespace pp {
class CompletionCallback;
class FileRef;
-class Instance;
+class InstanceHandle;
class Var;
class FileChooser_Dev : public Resource {
@@ -42,7 +42,7 @@ class FileChooser_Dev : public Resource {
/// TODO(darin): What if the mime type is unknown to the system? The plugin
/// may wish to describe the mime type and provide a matching file extension.
/// It is more webby to use mime types here instead of file extensions.
- FileChooser_Dev(const Instance* instance,
+ FileChooser_Dev(const InstanceHandle& instance,
PP_FileChooserMode_Dev mode,
const Var& accept_mime_types);
« no previous file with comments | « ppapi/cpp/dev/device_ref_dev.cc ('k') | ppapi/cpp/dev/file_chooser_dev.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698