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

Unified Diff: chrome/browser/profiles/profile.h

Issue 7466033: Fix warning prompting on closing a window that will cancel downloads. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compiler warning. Created 9 years, 5 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
Index: chrome/browser/profiles/profile.h
diff --git a/chrome/browser/profiles/profile.h b/chrome/browser/profiles/profile.h
index 8d335b17b98f81f4b078d497682cf53b485ca1d1..de029f5c44e8e4beb4cd65b3bf88428b18a28454 100644
--- a/chrome/browser/profiles/profile.h
+++ b/chrome/browser/profiles/profile.h
@@ -562,6 +562,11 @@ class Profile {
// Creates an OffTheRecordProfile which points to this Profile.
Profile* CreateOffTheRecordProfile();
+ // Returns the total number of downloads associated with this profile
+ // (not including downloads associated with any OffTheRecordProfile
+ // associated with this profile).
+ int DownloadCount();
+
protected:
friend class OffTheRecordProfileImpl;

Powered by Google App Engine
This is Rietveld 408576698