summaryrefslogtreecommitdiffstats
path: root/content/browser/download/base_file.cc
diff options
context:
space:
mode:
authorcristian.patrasciuc@gmail.com <cristian.patrasciuc@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-28 23:22:57 +0000
committercristian.patrasciuc@gmail.com <cristian.patrasciuc@gmail.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-07-28 23:22:57 +0000
commit5dd464d64e8e6862861244e355020076d82f6d1f (patch)
tree0d01e8851d0c2e1592f2803079d1aaa16b4c26a0 /content/browser/download/base_file.cc
parent3d81b04e91218a3626d34019294aa366498ba13f (diff)
downloadchromium_src-5dd464d64e8e6862861244e355020076d82f6d1f.zip
chromium_src-5dd464d64e8e6862861244e355020076d82f6d1f.tar.gz
chromium_src-5dd464d64e8e6862861244e355020076d82f6d1f.tar.bz2
Moving file_metadata files under content/browser/download
Some cleanup of the file_metadata files (especially for Mac OS). I moved them under content/browser/download and changed the namespace to "content" to match the Linux implementation and the style guide. I also included a small change to the Linux-related unittests. Review URL: https://chromiumcodereview.appspot.com/10821069 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@148910 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/base_file.cc')
-rw-r--r--content/browser/download/base_file.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc
index 786e78c..1d5d1e2 100644
--- a/content/browser/download/base_file.cc
+++ b/content/browser/download/base_file.cc
@@ -26,7 +26,7 @@
#include "content/browser/safe_util_win.h"
#elif defined(OS_MACOSX)
-#include "content/browser/file_metadata_mac.h"
+#include "content/browser/download/file_metadata_mac.h"
#elif defined(OS_LINUX)
#include "content/browser/download/file_metadata_linux.h"
#endif
@@ -468,10 +468,8 @@ void BaseFile::AnnotateWithSourceInformation() {
win_util::SetInternetZoneIdentifier(full_path_,
UTF8ToWide(source_url_.spec()));
#elif defined(OS_MACOSX)
- file_metadata::AddQuarantineMetadataToFile(full_path_, source_url_,
- referrer_url_);
- file_metadata::AddOriginMetadataToFile(full_path_, source_url_,
- referrer_url_);
+ content::AddQuarantineMetadataToFile(full_path_, source_url_, referrer_url_);
+ content::AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
#elif defined(OS_LINUX)
content::AddOriginMetadataToFile(full_path_, source_url_, referrer_url_);
#endif