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

Unified Diff: chrome/browser/enumerate_modules_model_win.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
Index: chrome/browser/enumerate_modules_model_win.cc
===================================================================
--- chrome/browser/enumerate_modules_model_win.cc (revision 106380)
+++ chrome/browser/enumerate_modules_model_win.cc (working copy)
@@ -26,7 +26,7 @@
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
#include "grit/generated_resources.h"
#include "ui/base/l10n/l10n_util.h"
@@ -785,10 +785,10 @@
void EnumerateModulesModel::AcknowledgeConflictNotification() {
if (!conflict_notification_acknowledged_) {
conflict_notification_acknowledged_ = true;
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE,
content::Source<EnumerateModulesModel>(this),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
}
}
@@ -940,10 +940,10 @@
if (limited_mode_)
return;
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_MODULE_LIST_ENUMERATED,
content::Source<EnumerateModulesModel>(this),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
// Command line flag must be enabled for the notification to get sent out.
// Otherwise we'd get the badge (while the feature is disabled) when we
@@ -952,10 +952,10 @@
if (!cmd_line.HasSwitch(switches::kConflictingModulesCheck))
return;
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
chrome::NOTIFICATION_MODULE_INCOMPATIBILITY_BADGE_CHANGE,
content::Source<EnumerateModulesModel>(this),
- NotificationService::NoDetails());
+ content::NotificationService::NoDetails());
}
GURL EnumerateModulesModel::ConstructHelpCenterUrl(
« no previous file with comments | « chrome/browser/download/save_page_browsertest.cc ('k') | chrome/browser/extensions/app_notification_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698