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

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

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/shell_dialogs/gtk/select_file_dialog_impl.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.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.cc
diff --git a/ui/shell_dialogs/gtk/select_file_dialog_impl.cc b/ui/shell_dialogs/gtk/select_file_dialog_impl.cc
index d560af924c20c48afeaca55a06eb4bb4ea36d317..05f51131ab2cdc4c85798bc0c74b682f70b46347 100644
--- a/ui/shell_dialogs/gtk/select_file_dialog_impl.cc
+++ b/ui/shell_dialogs/gtk/select_file_dialog_impl.cc
@@ -68,8 +68,8 @@ SelectFileDialogImpl::SelectFileDialogImpl(Listener* listener,
file_type_index_(0),
type_(SELECT_NONE) {
if (!last_saved_path_) {
- last_saved_path_ = new FilePath();
- last_opened_path_ = new FilePath();
+ last_saved_path_ = new base::FilePath();
+ last_opened_path_ = new base::FilePath();
}
}
@@ -83,7 +83,8 @@ bool SelectFileDialogImpl::IsRunning(gfx::NativeWindow parent_window) const {
return parents_.find(parent_window) != parents_.end();
}
-bool SelectFileDialogImpl::CallDirectoryExistsOnUIThread(const FilePath& path) {
+bool SelectFileDialogImpl::CallDirectoryExistsOnUIThread(
+ const base::FilePath& path) {
base::ThreadRestrictions::ScopedAllowIO allow_io;
return file_util::DirectoryExists(path);
}
« no previous file with comments | « ui/shell_dialogs/gtk/select_file_dialog_impl.h ('k') | ui/shell_dialogs/gtk/select_file_dialog_impl_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698