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

Unified Diff: chrome/browser/extensions/file_manager_util.h

Issue 7550035: Revert 95621 - Keeping the current directory in URL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/extensions/file_manager_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/file_manager_util.h
===================================================================
--- chrome/browser/extensions/file_manager_util.h (revision 95624)
+++ chrome/browser/extensions/file_manager_util.h (working copy)
@@ -42,9 +42,9 @@
const FilePath::StringType& default_extension);
// Opens file browser UI in its own tab on file system location defined with
- // |dir|.
+ // |default_path|.
static void ShowFullTabUrl(Profile* profile,
- const FilePath& dir);
+ const FilePath& default_path);
static void ViewItem(const FilePath& full_path, bool enqueue);
@@ -52,6 +52,14 @@
FileManagerUtil() {}
// Helper to convert numeric dialog type to a string.
static std::string GetDialogTypeAsString(SelectFileDialog::Type dialog_type);
+ // Help to convert potential dialog arguments into json.
+ static std::string GetArgumentsJson(
+ SelectFileDialog::Type type,
+ const string16& title,
+ const FilePath& default_path,
+ const SelectFileDialog::FileTypeInfo* file_types,
+ int file_type_index,
+ const FilePath::StringType& default_extension);
DISALLOW_COPY_AND_ASSIGN(FileManagerUtil);
};
« no previous file with comments | « no previous file | chrome/browser/extensions/file_manager_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698