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

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

Issue 26938003: Don't prompt to save malicious downloads on exit (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed unneeded code Created 7 years, 2 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 | « chrome/browser/download/download_item_model.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_service.h
diff --git a/chrome/browser/download/download_service.h b/chrome/browser/download/download_service.h
index 3c3f6b6675729dda4079e97e518c84312f5964d8..80cce154675bc090d3d40a5816cc4c1d19f6baa9 100644
--- a/chrome/browser/download/download_service.h
+++ b/chrome/browser/download/download_service.h
@@ -44,11 +44,12 @@ class DownloadService : public BrowserContextKeyedService {
// Has a download manager been created?
bool HasCreatedDownloadManager();
- // Number of downloads associated with this instance of the service.
- int DownloadCount() const;
+ // Number of non-malicious downloads associated with this instance of the
+ // service.
+ int NonMaliciousDownloadCount() const;
- // Number of downloads associated with all profiles.
- static int DownloadCountAllProfiles();
+ // Number of non-malicious downloads associated with all profiles.
+ static int NonMaliciousDownloadCountAllProfiles();
// Sets the DownloadManagerDelegate associated with this object and
// its DownloadManager. Takes ownership of |delegate|, and destroys
« no previous file with comments | « chrome/browser/download/download_item_model.cc ('k') | chrome/browser/download/download_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698