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

Unified Diff: content/public/browser/download_manager_delegate.h

Issue 21355004: [Downloads] Move client guid for AV scanning of downloaded files to chrome/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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/safe_util_win.cc ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/download_manager_delegate.h
diff --git a/content/public/browser/download_manager_delegate.h b/content/public/browser/download_manager_delegate.h
index 98bad436dee01a714e0df391ac41dacad7e844f4..89be2df185542e3d854c27e556b229e363683197 100644
--- a/content/public/browser/download_manager_delegate.h
+++ b/content/public/browser/download_manager_delegate.h
@@ -129,6 +129,12 @@ class CONTENT_EXPORT DownloadManagerDelegate {
DownloadItem* download,
const CheckForFileExistenceCallback& callback) {}
+ // Return a GUID string used for identifying the application to the
+ // system AV function for scanning downloaded files. If an empty
+ // or invalid GUID string is returned, no client identification
+ // will be given to the AV function.
+ virtual std::string ApplicationClientIdForFileScanning() const;
+
protected:
virtual ~DownloadManagerDelegate();
};
« no previous file with comments | « content/browser/safe_util_win.cc ('k') | content/public/browser/download_manager_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698