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

Unified Diff: chrome/browser/ui/webui/options/manage_profile_handler.h

Issue 220593003: [Canceled] Show a "downloads in progress" warning in the delete profile overlay. (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
Index: chrome/browser/ui/webui/options/manage_profile_handler.h
diff --git a/chrome/browser/ui/webui/options/manage_profile_handler.h b/chrome/browser/ui/webui/options/manage_profile_handler.h
index d4286e34b24865ddcb3dc7b28a2b8f50688ef318..ddfa898c5064a0e3f551d9cc893d7ace86ec742d 100644
--- a/chrome/browser/ui/webui/options/manage_profile_handler.h
+++ b/chrome/browser/ui/webui/options/manage_profile_handler.h
@@ -120,6 +120,11 @@ class ManageProfileHandler : public OptionsPageUIHandler,
// shortcut" button. Removes the desktop shortcut for the profile.
void RemoveProfileShortcut(const base::ListValue* args);
+ // Callback for the "requestProfileInProgressDownloads" message.
+ // Sends the number of in-progress downloads for the given profile.
+ // |args| is of the form: [ {string} profileFilePath ]
+ void RequestProfileInProgressDownloads(const base::ListValue* args);
+
// URL for the current profile's GAIA picture.
std::string gaia_picture_url_;

Powered by Google App Engine
This is Rietveld 408576698