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

Unified Diff: ppapi/cpp/dev/file_chooser_dev.cc

Issue 10414085: Modified the pepper file chooser API to support filtering files by extensions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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/file_chooser_dev.h ('k') | ppapi/cpp/trusted/file_chooser_trusted.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/dev/file_chooser_dev.cc
diff --git a/ppapi/cpp/dev/file_chooser_dev.cc b/ppapi/cpp/dev/file_chooser_dev.cc
index a773def12066756c1a69000b2b3824421d6f59f8..66806dbc67daa6f631f80faa526e93c1601fd1cc 100644
--- a/ppapi/cpp/dev/file_chooser_dev.cc
+++ b/ppapi/cpp/dev/file_chooser_dev.cc
@@ -30,13 +30,13 @@ template <> const char* interface_name<PPB_FileChooser_Dev_0_6>() {
FileChooser_Dev::FileChooser_Dev(const InstanceHandle& instance,
PP_FileChooserMode_Dev mode,
- const Var& accept_mime_types) {
+ const Var& accept_types) {
if (has_interface<PPB_FileChooser_Dev_0_6>()) {
PassRefFromConstructor(get_interface<PPB_FileChooser_Dev_0_6>()->Create(
- instance.pp_instance(), mode, accept_mime_types.pp_var()));
+ instance.pp_instance(), mode, accept_types.pp_var()));
} else if (has_interface<PPB_FileChooser_Dev_0_5>()) {
PassRefFromConstructor(get_interface<PPB_FileChooser_Dev_0_5>()->Create(
- instance.pp_instance(), mode, accept_mime_types.pp_var()));
+ instance.pp_instance(), mode, accept_types.pp_var()));
}
}
« no previous file with comments | « ppapi/cpp/dev/file_chooser_dev.h ('k') | ppapi/cpp/trusted/file_chooser_trusted.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698