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

Unified Diff: chrome/browser/automation/automation_provider_observers_chromeos.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/automation/automation_provider_observers_chromeos.cc
===================================================================
--- chrome/browser/automation/automation_provider_observers_chromeos.cc (revision 106380)
+++ chrome/browser/automation/automation_provider_observers_chromeos.cc (working copy)
@@ -14,7 +14,7 @@
#include "chrome/browser/chromeos/login/user_manager.h"
#include "chrome/browser/chromeos/login/wizard_controller.h"
#include "chrome/common/chrome_notification_types.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
using chromeos::CrosLibrary;
using chromeos::NetworkLibrary;
@@ -50,7 +50,7 @@
AutomationProvider* automation)
: automation_(automation->AsWeakPtr()) {
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_WEBUI_READY,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
LoginWebuiReadyObserver::~LoginWebuiReadyObserver() {
@@ -105,7 +105,7 @@
reply_message_(reply_message),
lock_screen_(lock_screen) {
registrar_.Add(this, chrome::NOTIFICATION_SCREEN_LOCK_STATE_CHANGED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
ScreenLockUnlockObserver::~ScreenLockUnlockObserver() {}

Powered by Google App Engine
This is Rietveld 408576698