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

Unified Diff: chrome/browser/download/chrome_download_manager_delegate.h

Issue 8571023: Implemented ExternalData interface on DownloadItem and used it for SafeBrowsing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleaned up a bit. Created 9 years, 1 month 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
Index: chrome/browser/download/chrome_download_manager_delegate.h
diff --git a/chrome/browser/download/chrome_download_manager_delegate.h b/chrome/browser/download/chrome_download_manager_delegate.h
index 284284ea95c2b51fd0edcff287e66dea0874b50e..b1f9e70bae6c2a1a6a71a2ba2de7d486d4607da1 100644
--- a/chrome/browser/download/chrome_download_manager_delegate.h
+++ b/chrome/browser/download/chrome_download_manager_delegate.h
@@ -145,16 +145,6 @@ class ChromeDownloadManagerDelegate
typedef base::hash_map<CrxInstaller*, int> CrxInstallerMap;
CrxInstallerMap crx_installers_;
- // Maps the SafeBrowsing download check state to a DownloadItem ID.
- struct SafeBrowsingState {
- // If true the SafeBrowsing check is not done yet.
- bool pending;
- // The verdict that we got from calling CheckClientDownload.
- safe_browsing::DownloadProtectionService::DownloadCheckResult verdict;
- };
- typedef base::hash_map<int, SafeBrowsingState> SafeBrowsingStateMap;
- SafeBrowsingStateMap safe_browsing_state_;
-
content::NotificationRegistrar registrar_;
DISALLOW_COPY_AND_ASSIGN(ChromeDownloadManagerDelegate);

Powered by Google App Engine
This is Rietveld 408576698