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

Unified Diff: chrome/browser/file_select_helper.h

Issue 10908262: [cros] disable GDrive option on certain file pickers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: self review Created 8 years, 3 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
Index: chrome/browser/file_select_helper.h
diff --git a/chrome/browser/file_select_helper.h b/chrome/browser/file_select_helper.h
index f4b0cbbb06beeba01373b0ba61cc9d53ed9509b2..5fe8a38035e21a5454930d8976de804fa6901bf1 100644
--- a/chrome/browser/file_select_helper.h
+++ b/chrome/browser/file_select_helper.h
@@ -126,8 +126,8 @@ class FileSelectHelper
// http://whatwg.org/html/number-state.html#attr-input-accept
// |accept_types| contains only valid lowercased MIME types or file extensions
// beginning with a period (.).
- ui::SelectFileDialog::FileTypeInfo* GetFileTypesFromAcceptType(
- const std::vector<string16>& accept_types);
+ static scoped_ptr<ui::SelectFileDialog::FileTypeInfo>
+ GetFileTypesFromAcceptType(const std::vector<string16>& accept_types);
// Check the accept type is valid. It is expected to be all lower case with
// no whitespace.

Powered by Google App Engine
This is Rietveld 408576698