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

Unified Diff: ui/shell_dialogs/gtk/select_file_dialog_impl.h

Issue 12217101: Replace FilePath with base::FilePath in some more top level directories. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 10 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 | « ui/metro_viewer/metro_viewer_messages.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/gtk/select_file_dialog_impl.h
diff --git a/ui/shell_dialogs/gtk/select_file_dialog_impl.h b/ui/shell_dialogs/gtk/select_file_dialog_impl.h
index c575e33c1c7d2257a80744a095504bde3255ec5f..b0206e0661135aa037a8c6c397f2134e65595ed4 100644
--- a/ui/shell_dialogs/gtk/select_file_dialog_impl.h
+++ b/ui/shell_dialogs/gtk/select_file_dialog_impl.h
@@ -43,20 +43,21 @@ class SelectFileDialogImpl : public SelectFileDialog {
// SelectFileDialog implementation.
// |params| is user data we pass back via the Listener interface.
- virtual void SelectFileImpl(Type type,
- const string16& title,
- const FilePath& default_path,
- const FileTypeInfo* file_types,
- int file_type_index,
- const FilePath::StringType& default_extension,
- gfx::NativeWindow owning_window,
- void* params) = 0;
+ virtual void SelectFileImpl(
+ Type type,
+ const string16& title,
+ const base::FilePath& default_path,
+ const FileTypeInfo* file_types,
+ int file_type_index,
+ const base::FilePath::StringType& default_extension,
+ gfx::NativeWindow owning_window,
+ void* params) = 0;
// Wrapper for file_util::DirectoryExists() that allow access on the UI
// thread. Use this only in the file dialog functions, where it's ok
// because the file dialog has to do many stats anyway. One more won't
// hurt too badly and it's likely already cached.
- bool CallDirectoryExistsOnUIThread(const FilePath& path);
+ bool CallDirectoryExistsOnUIThread(const base::FilePath& path);
// The file filters.
FileTypeInfo file_types_;
@@ -73,8 +74,8 @@ class SelectFileDialogImpl : public SelectFileDialog {
// These two variables track where the user last saved a file or opened a
// file so that we can display future dialogs with the same starting path.
- static FilePath* last_saved_path_;
- static FilePath* last_opened_path_;
+ static base::FilePath* last_saved_path_;
+ static base::FilePath* last_opened_path_;
DISALLOW_COPY_AND_ASSIGN(SelectFileDialogImpl);
};
« no previous file with comments | « ui/metro_viewer/metro_viewer_messages.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698