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

Unified Diff: chrome/browser/chromeos/boot_times_loader.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/chrome_plugin_service_filter.cc ('k') | chrome/browser/chromeos/cros/login_library.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/boot_times_loader.cc
===================================================================
--- chrome/browser/chromeos/boot_times_loader.cc (revision 106380)
+++ chrome/browser/chromeos/boot_times_loader.cc (working copy)
@@ -31,7 +31,7 @@
#include "content/browser/renderer_host/render_widget_host_view.h"
#include "content/browser/tab_contents/navigation_controller.h"
#include "content/browser/tab_contents/tab_contents.h"
-#include "content/common/notification_service.h"
+#include "content/public/browser/notification_service.h"
namespace {
@@ -345,13 +345,13 @@
AddLoginTimeMarker("LoginDone", true);
RecordCurrentStats(kChromeFirstRender);
registrar_.Remove(this, content::NOTIFICATION_LOAD_START,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Remove(this, content::NOTIFICATION_LOAD_STOP,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Remove(this, content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Remove(this, content::NOTIFICATION_RENDER_WIDGET_HOST_DID_PAINT,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
// Don't swamp the FILE thread right away.
BrowserThread::PostDelayedTask(
BrowserThread::FILE, FROM_HERE,
@@ -406,15 +406,15 @@
if (!have_registered_) {
have_registered_ = true;
registrar_.Add(this, chrome::NOTIFICATION_LOGIN_AUTHENTICATION,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, content::NOTIFICATION_LOAD_START,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, content::NOTIFICATION_LOAD_STOP,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
registrar_.Add(this, content::NOTIFICATION_RENDER_WIDGET_HOST_DID_PAINT,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
}
@@ -439,7 +439,7 @@
AddLoginTimeMarker("Authenticate", true);
RecordCurrentStats(kLoginSuccess);
registrar_.Remove(this, chrome::NOTIFICATION_LOGIN_AUTHENTICATION,
- NotificationService::AllSources());
+ content::NotificationService::AllSources());
}
break;
}
« no previous file with comments | « chrome/browser/chrome_plugin_service_filter.cc ('k') | chrome/browser/chromeos/cros/login_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698