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

Unified Diff: content/browser/download/file_metadata_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 | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/download/file_metadata_linux.cc
diff --git a/content/browser/download/file_metadata_linux.cc b/content/browser/download/file_metadata_linux.cc
index 894acb89918a39caca236738fa1e0909a6cb70a8..c06d3f1a90fafd1a9df33259a7b1055d2189ed9c 100644
--- a/content/browser/download/file_metadata_linux.cc
+++ b/content/browser/download/file_metadata_linux.cc
@@ -29,7 +29,7 @@ static void SetExtendedFileAttribute(const char* path, const char* name,
void AddOriginMetadataToFile(const base::FilePath& file, const GURL& source,
const GURL& referrer) {
- DCHECK(file_util::PathIsWritable(file));
+ DCHECK(base::PathIsWritable(file));
if (source.is_valid()) {
SetExtendedFileAttribute(file.value().c_str(), kSourceURLAttrName,
source.spec().c_str(), source.spec().length(), 0);
« no previous file with comments | « content/browser/download/download_item_impl.cc ('k') | content/browser/download/save_package.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698