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

Unified Diff: chrome/common/auto_start_linux.cc

Issue 19052005: Move PathIsWritable, DirectoryExists, ContentsEqual, and TextContentsEqual to the base namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/auto_start_linux.cc
diff --git a/chrome/common/auto_start_linux.cc b/chrome/common/auto_start_linux.cc
index 0033aae38e0ca9bc1e71fa89c281af126c5df743..b06c6f8b8a5b1fca612e8068e14676548d76a8e8 100644
--- a/chrome/common/auto_start_linux.cc
+++ b/chrome/common/auto_start_linux.cc
@@ -32,7 +32,7 @@ bool AutoStart::AddApplication(const std::string& autostart_filename,
bool is_terminal_app) {
scoped_ptr<base::Environment> environment(base::Environment::Create());
base::FilePath autostart_directory = GetAutostartDirectory(environment.get());
- if (!file_util::DirectoryExists(autostart_directory) &&
+ if (!base::DirectoryExists(autostart_directory) &&
!file_util::CreateDirectory(autostart_directory)) {
return false;
}
« no previous file with comments | « chrome/browser/web_applications/web_app_mac.mm ('k') | chrome/common/extensions/extension_file_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698