| Index: chrome/browser/profiles/profile.cc
|
| diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
|
| index 8ba32943bf073df01a661f474e7bbe8316444038..a0d8cea02754a6fc0934270aea3d93ef3f6f4212 100644
|
| --- a/chrome/browser/profiles/profile.cc
|
| +++ b/chrome/browser/profiles/profile.cc
|
| @@ -877,3 +877,8 @@ Profile* Profile::CreateOffTheRecordProfile() {
|
| #endif
|
| return new OffTheRecordProfileImpl(this);
|
| }
|
| +
|
| +int Profile::DownloadCount() {
|
| + return HasCreatedDownloadManager() ?
|
| + GetDownloadManager()->in_progress_count() : 0;
|
| +}
|
|
|