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

Unified Diff: chrome/browser/download/download_crx_util.cc

Issue 8342048: Make NotificationService an interface in the content namespace, and switch callers to use it. Mov... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/download/download_crx_util.cc
===================================================================
--- chrome/browser/download/download_crx_util.cc (revision 106380)
+++ chrome/browser/download/download_crx_util.cc (working copy)
@@ -11,7 +11,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/chrome_notification_types.h"
#include "content/browser/download/download_item.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
namespace download_crx_util {
@@ -53,7 +53,8 @@
ExtensionService* service = profile->GetExtensionService();
CHECK(service);
- NotificationService* nservice = NotificationService::current();
+ content::NotificationService* nservice =
+ content::NotificationService::current();
GURL nonconst_download_url = download_item.GetURL();
nservice->Notify(chrome::NOTIFICATION_EXTENSION_READY_FOR_INSTALL,
content::Source<Profile>(profile),
« no previous file with comments | « chrome/browser/debugger/devtools_window.cc ('k') | chrome/browser/download/download_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698