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

Unified Diff: chrome/browser/extensions/api/downloads/downloads_api.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/extensions/api/downloads/downloads_api.h
diff --git a/chrome/browser/extensions/api/downloads/downloads_api.h b/chrome/browser/extensions/api/downloads/downloads_api.h
index 80574d2421203b3e664942272bf0d2157ae2db47..70039b3b5af759c1d70a4413dc53116002d54c83 100644
--- a/chrome/browser/extensions/api/downloads/downloads_api.h
+++ b/chrome/browser/extensions/api/downloads/downloads_api.h
@@ -13,7 +13,7 @@
#include "base/memory/singleton.h"
#include "base/string16.h"
#include "base/values.h"
-#include "chrome/browser/download/hyperbolic_download_item_notifier.h"
+#include "chrome/browser/download/all_download_item_notifier.h"
#include "chrome/browser/extensions/extension_function.h"
#include "content/public/browser/download_id.h"
#include "content/public/browser/download_item.h"
@@ -214,13 +214,13 @@ class DownloadsGetFileIconFunction : public AsyncExtensionFunction {
// Observes a single DownloadManager and many DownloadItems and dispatches
// onCreated and onErased events.
class ExtensionDownloadsEventRouter
- : public HyperbolicDownloadItemNotifier::Observer {
+ : public AllDownloadItemNotifier::Observer {
public:
explicit ExtensionDownloadsEventRouter(
Profile* profile, content::DownloadManager* manager);
virtual ~ExtensionDownloadsEventRouter();
- // HyperbolicDownloadItemNotifier::Observer interface
+ // AllDownloadItemNotifier::Observer interface
virtual void OnDownloadCreated(
content::DownloadManager* manager,
content::DownloadItem* download_item) OVERRIDE;
@@ -241,7 +241,7 @@ class ExtensionDownloadsEventRouter
void DispatchEvent(const char* event_name, base::Value* json_arg);
Profile* profile_;
- HyperbolicDownloadItemNotifier notifier_;
+ AllDownloadItemNotifier notifier_;
DISALLOW_COPY_AND_ASSIGN(ExtensionDownloadsEventRouter);
};
« no previous file with comments | « chrome/browser/download/hyperbolic_download_item_notifier_unittest.cc ('k') | chrome/browser/ui/webui/downloads_dom_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698