diff options
author | gbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-10 13:49:48 +0000 |
---|---|---|
committer | gbillock@chromium.org <gbillock@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-10 13:49:48 +0000 |
commit | 492c00974a1354e97e27939279eecd7fc9d8d9ce (patch) | |
tree | 899e3da8b00bb60209a012a0587564b50477c017 /content/browser/download/base_file.cc | |
parent | 6cf51b6c67396f11d6e4c2cccb75e8ed3a020e37 (diff) | |
download | chromium_src-492c00974a1354e97e27939279eecd7fc9d8d9ce.zip chromium_src-492c00974a1354e97e27939279eecd7fc9d8d9ce.tar.gz chromium_src-492c00974a1354e97e27939279eecd7fc9d8d9ce.tar.bz2 |
[Downloads] Move client guid for AV scanning of downloaded files to chrome/
This client app should not be used by all clients of content/. Moving to chrome so it can be managed there and re-used if needed.
Review URL: https://chromiumcodereview.appspot.com/21355004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@216843 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/download/base_file.cc')
-rw-r--r-- | content/browser/download/base_file.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/download/base_file.cc b/content/browser/download/base_file.cc index 466be32..90ab485 100644 --- a/content/browser/download/base_file.cc +++ b/content/browser/download/base_file.cc @@ -211,6 +211,10 @@ void BaseFile::Finish() { Close(); } +void BaseFile::SetClientGuid(const std::string& guid) { + client_guid_ = guid; +} + // OS_WIN, OS_MACOSX and OS_LINUX have specialized implementations. #if !defined(OS_WIN) && !defined(OS_MACOSX) && !defined(OS_LINUX) DownloadInterruptReason BaseFile::AnnotateWithSourceInformation() { |