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

Unified Diff: chrome/browser/file_select_helper.h

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 | « no previous file | chrome/browser/file_select_helper.cc » ('j') | chrome/browser/file_select_helper.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/file_select_helper.h
diff --git a/chrome/browser/file_select_helper.h b/chrome/browser/file_select_helper.h
index 7f544a446583d638a84aa909a976f95c371dc529..feeb0a316863bfd291ae038ef6da3dc2296ad617 100644
--- a/chrome/browser/file_select_helper.h
+++ b/chrome/browser/file_select_helper.h
@@ -123,7 +123,8 @@ class FileSelectHelper
// Helper method to get allowed extensions for select file dialog from
// the specified accept types as defined in the spec:
// http://whatwg.org/html/number-state.html#attr-input-accept
- // |accept_types| contains only valid lowercased MIME types.
+ // |accept_types| contains only valid lowercased MIME types or file extensions
+ // beginning with a period (.).
SelectFileDialog::FileTypeInfo* GetFileTypesFromAcceptType(
const std::vector<string16>& accept_types);
« no previous file with comments | « no previous file | chrome/browser/file_select_helper.cc » ('j') | chrome/browser/file_select_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698