Index: chrome/browser/download/download_service.h |
diff --git a/chrome/browser/download/download_service.h b/chrome/browser/download/download_service.h |
index 4d754b0fe9fc72ce1469a95038e4a5a0c8cb321a..f81c0b52b8763fbc8e28e0306b4b7dc946df3829 100644 |
--- a/chrome/browser/download/download_service.h |
+++ b/chrome/browser/download/download_service.h |
@@ -29,6 +29,12 @@ class DownloadService : public ProfileKeyedService { |
// Has a download manager been created? (By calling above function.) |
bool HasCreatedDownloadManager(); |
+ // Number of downloads associated with this instance of the service. |
+ int DownloadCount(); |
achuithb
2011/10/14 19:22:10
nit: const
Randy Smith (Not in Mondays)
2011/10/14 19:30:47
Done.
|
+ |
+ // Number of downloads associated with all profiles. |
+ static int TotalDownloadCount(); |
Paweł Hajdan Jr.
2011/10/14 21:26:19
nit: Unless there is an existing convention, I'd l
Randy Smith (Not in Mondays)
2011/10/15 01:42:20
Done.
|
+ |
// Sets the DownloadManagerDelegate associated with this object and |
// its DownloadManager. Takes ownership of |delegate|, and destroys |
// the previous delegate. For testing. |