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

Side by Side Diff: chrome/browser/ui/libgtk2ui/select_file_dialog_impl.cc

Issue 486843004: Change base/file_utils.h includes to base/files/file_utils.h in chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix bad merge Created 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // This file implements common select dialog functionality between GTK and KDE. 5 // This file implements common select dialog functionality between GTK and KDE.
6 6
7 #include "chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h" 7 #include "chrome/browser/ui/libgtk2ui/select_file_dialog_impl.h"
8 8
9 #include "base/environment.h" 9 #include "base/environment.h"
10 #include "base/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/nix/xdg_util.h" 11 #include "base/nix/xdg_util.h"
12 #include "base/threading/thread_restrictions.h" 12 #include "base/threading/thread_restrictions.h"
13 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
14 14
15 using content::BrowserThread; 15 using content::BrowserThread;
16 16
17 namespace { 17 namespace {
18 18
19 enum UseKdeFileDialogStatus { 19 enum UseKdeFileDialogStatus {
20 UNKNOWN, 20 UNKNOWN,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 listener_ = NULL; 83 listener_ = NULL;
84 } 84 }
85 85
86 bool SelectFileDialogImpl::CallDirectoryExistsOnUIThread( 86 bool SelectFileDialogImpl::CallDirectoryExistsOnUIThread(
87 const base::FilePath& path) { 87 const base::FilePath& path) {
88 base::ThreadRestrictions::ScopedAllowIO allow_io; 88 base::ThreadRestrictions::ScopedAllowIO allow_io;
89 return base::DirectoryExists(path); 89 return base::DirectoryExists(path);
90 } 90 }
91 91
92 } // namespace libgtk2ui 92 } // namespace libgtk2ui
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc ('k') | chrome/browser/ui/metro_pin_tab_helper_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698