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

Unified Diff: ppapi/cpp/trusted/file_chooser_trusted.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/trusted/file_chooser_trusted.h ('k') | ppapi/examples/file_chooser/file_chooser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/cpp/trusted/file_chooser_trusted.cc
diff --git a/ppapi/cpp/trusted/file_chooser_trusted.cc b/ppapi/cpp/trusted/file_chooser_trusted.cc
index 92fec74a37b8769b5a4284ada683890fc679d737..caa1b73cfaec69d1c634a0d525e73198086e1af2 100644
--- a/ppapi/cpp/trusted/file_chooser_trusted.cc
+++ b/ppapi/cpp/trusted/file_chooser_trusted.cc
@@ -30,10 +30,10 @@ FileChooser_Trusted::FileChooser_Trusted() : save_as_(false) {
FileChooser_Trusted::FileChooser_Trusted(const InstanceHandle& instance,
PP_FileChooserMode_Dev mode,
- const Var& accept_mime_types,
+ const Var& accept_types,
bool save_as,
const std::string& suggested_file_name)
- : FileChooser_Dev(instance, mode, accept_mime_types),
+ : FileChooser_Dev(instance, mode, accept_types),
save_as_(save_as),
suggested_file_name_(suggested_file_name) {
}
« no previous file with comments | « ppapi/cpp/trusted/file_chooser_trusted.h ('k') | ppapi/examples/file_chooser/file_chooser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698