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

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

Issue 214523003: Before deleting a profile, cancel all in-progress downloads (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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 | « no previous file | 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 e365d9793612c770c1039010cdebbb9625f7ee3a..1e0ad634b1105b115522e155717c9b5e4acfae61 100644
--- a/chrome/browser/download/download_service.h
+++ b/chrome/browser/download/download_service.h
@@ -47,10 +47,13 @@ class DownloadService : public KeyedService {
// service.
int NonMaliciousDownloadCount() const;
+ // Cancels all in-progress downloads for this profile.
+ void CancelDownloads();
+
// Number of non-malicious downloads associated with all profiles.
static int NonMaliciousDownloadCountAllProfiles();
- // Cancels all in-progress downloads.
+ // Cancels all in-progress downloads for all profiles.
static void CancelAllDownloads();
// Sets the DownloadManagerDelegate associated with this object and
« no previous file with comments | « no previous file | chrome/browser/download/download_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698