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

Unified Diff: chrome/browser/ui/webui/downloads_dom_handler.h

Issue 10974009: Rename HyperbolicDownloadItemNotifer -> AllDownloadItemNotifier (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 3 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/downloads_dom_handler.h
diff --git a/chrome/browser/ui/webui/downloads_dom_handler.h b/chrome/browser/ui/webui/downloads_dom_handler.h
index 7fb71a7431954ebc5982b319e0b17962ac978733..9df6090f06a17bb333a35d627dd677f96848639e 100644
--- a/chrome/browser/ui/webui/downloads_dom_handler.h
+++ b/chrome/browser/ui/webui/downloads_dom_handler.h
@@ -10,7 +10,7 @@
#include "base/compiler_specific.h"
#include "base/memory/weak_ptr.h"
-#include "chrome/browser/download/hyperbolic_download_item_notifier.h"
+#include "chrome/browser/download/all_download_item_notifier.h"
#include "content/public/browser/download_item.h"
#include "content/public/browser/download_manager.h"
#include "content/public/browser/web_ui_message_handler.h"
@@ -26,7 +26,7 @@ class WebContents;
// The handler for Javascript messages related to the "downloads" view,
// also observes changes to the download manager.
class DownloadsDOMHandler : public content::WebUIMessageHandler,
- public HyperbolicDownloadItemNotifier::Observer {
+ public AllDownloadItemNotifier::Observer {
public:
explicit DownloadsDOMHandler(content::DownloadManager* dlm);
virtual ~DownloadsDOMHandler();
@@ -36,7 +36,7 @@ class DownloadsDOMHandler : public content::WebUIMessageHandler,
// WebUIMessageHandler implementation.
virtual void RegisterMessages() OVERRIDE;
- // HyperbolicDownloadItemNotifier::Observer interface
+ // AllDownloadItemNotifier::Observer interface
virtual void OnDownloadCreated(
content::DownloadManager* manager,
content::DownloadItem* download_item) OVERRIDE;
@@ -126,11 +126,11 @@ class DownloadsDOMHandler : public content::WebUIMessageHandler,
string16 search_text_;
// Notifies OnDownload*() and provides safe access to the DownloadManager.
- HyperbolicDownloadItemNotifier main_notifier_;
+ AllDownloadItemNotifier main_notifier_;
// If |main_notifier_| observes an incognito profile, then this observes the
// DownloadManager for the original profile; otherwise, this is NULL.
- scoped_ptr<HyperbolicDownloadItemNotifier> original_notifier_;
+ scoped_ptr<AllDownloadItemNotifier> original_notifier_;
// Whether a call to SendCurrentDownloads() is currently scheduled.
bool update_scheduled_;
« no previous file with comments | « chrome/browser/extensions/api/downloads/downloads_api.h ('k') | chrome/browser/ui/webui/downloads_dom_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698