| 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..2cc65706f09b5324f90b5e168156ed945f132f21 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() const;
|
| +
|
| + // Number of downloads associated with all profiles.
|
| + static int DownloadCountAllProfiles();
|
| +
|
| // Sets the DownloadManagerDelegate associated with this object and
|
| // its DownloadManager. Takes ownership of |delegate|, and destroys
|
| // the previous delegate. For testing.
|
|
|