| Index: content/public/browser/download_item.h
|
| diff --git a/content/public/browser/download_item.h b/content/public/browser/download_item.h
|
| index b499639c2fe59aa057eaf7912edce4702c17001a..23044f5ee2756c1e829600f6f812c41d3d07591e 100644
|
| --- a/content/public/browser/download_item.h
|
| +++ b/content/public/browser/download_item.h
|
| @@ -323,7 +323,8 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // Called if a check of the download contents was performed and the results of
|
| // the test are available. This should only be called after AllDataSaved() is
|
| // true.
|
| - virtual void OnContentCheckCompleted(DownloadDangerType danger_type) = 0;
|
| + virtual void OnContentCheckCompleted(DownloadDangerType danger_type,
|
| + const std::string& token) = 0;
|
|
|
| // Mark the download to be auto-opened when completed.
|
| virtual void SetOpenWhenComplete(bool open) = 0;
|
| @@ -340,6 +341,9 @@ class CONTENT_EXPORT DownloadItem : public base::SupportsUserData {
|
| // return |name|. Has no effect on the final target filename.
|
| virtual void SetDisplayName(const base::FilePath& name) = 0;
|
|
|
| + // Get token from ClientDownloadResponse.
|
| + virtual std::string GetDownloadPingToken() const = 0;
|
| +
|
| // Debug/testing -------------------------------------------------------------
|
| virtual std::string DebugString(bool verbose) const = 0;
|
| };
|
|
|