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

Unified Diff: chrome/browser/chromeos/login/owner_manager.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/chromeos/login/owner_manager.cc
===================================================================
--- chrome/browser/chromeos/login/owner_manager.cc (revision 106380)
+++ chrome/browser/chromeos/login/owner_manager.cc (working copy)
@@ -15,7 +15,7 @@
#include "chrome/browser/chromeos/login/signed_settings_temp_storage.h"
#include "content/browser/browser_thread.h"
#include "chrome/common/chrome_notification_types.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
namespace chromeos {
@@ -56,7 +56,7 @@
BrowserThread::PostTask(
BrowserThread::UI, FROM_HERE,
base::Bind(&OwnerManager::SendNotification, this, result,
- NotificationService::NoDetails()));
+ content::NotificationService::NoDetails()));
}
bool OwnerManager::EnsurePublicKey() {
@@ -136,9 +136,9 @@
void OwnerManager::SendNotification(
int type,
const content::NotificationDetails& details) {
- NotificationService::current()->Notify(
+ content::NotificationService::current()->Notify(
type,
- NotificationService::AllSources(),
+ content::NotificationService::AllSources(),
details);
}
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/owner_manager_unittest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698