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

Unified Diff: content/browser/download/save_package.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 | « content/browser/download/file_metadata_linux.cc ('k') | content/browser/gpu/webgl_conformance_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/save_package.cc
diff --git a/content/browser/download/save_package.cc b/content/browser/download/save_package.cc
index cc42005bc5b3ad6e9866311c6386a1dc37905f52..ad4330f4c3efc82228198bf3bfe5c576628ce715 100644
--- a/content/browser/download/save_package.cc
+++ b/content/browser/download/save_package.cc
@@ -1346,9 +1346,9 @@ void SavePackage::CreateDirectoryOnFileThread(
base::FilePath save_dir;
// If the default html/websites save folder doesn't exist...
// We skip the directory check for gdata directories on ChromeOS.
- if (!skip_dir_check && !file_util::DirectoryExists(website_save_dir)) {
+ if (!skip_dir_check && !base::DirectoryExists(website_save_dir)) {
// If the default download dir doesn't exist, create it.
- if (!file_util::DirectoryExists(download_save_dir)) {
+ if (!base::DirectoryExists(download_save_dir)) {
bool res = file_util::CreateDirectory(download_save_dir);
DCHECK(res);
}
« no previous file with comments | « content/browser/download/file_metadata_linux.cc ('k') | content/browser/gpu/webgl_conformance_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698