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

Unified Diff: chrome/browser/chromeos/login/webui_login_view.cc

Issue 10779042: Move notifications only used in chrome/ to chrome/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix oops Created 8 years, 5 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/webui_login_view.cc
diff --git a/chrome/browser/chromeos/login/webui_login_view.cc b/chrome/browser/chromeos/login/webui_login_view.cc
index 6501c4af8a9798fc77bd54c4843566006677f1ec..582824c0be25df6c38f982c810d0a577396f5b37 100644
--- a/chrome/browser/chromeos/login/webui_login_view.cc
+++ b/chrome/browser/chromeos/login/webui_login_view.cc
@@ -160,7 +160,7 @@ void WebUILoginView::Init(views::Widget* login_window) {
ProfileManager::GetDefaultProfile());
registrar_.Add(this,
- content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
+ content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED,
content::Source<WebContents>(web_contents));
}
@@ -272,7 +272,7 @@ void WebUILoginView::Observe(int type,
registrar_.RemoveAll();
break;
}
- case content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB: {
+ case content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED: {
RenderViewHost* render_view_host =
content::Details<RenderViewHost>(details).ptr();
new SnifferObserver(render_view_host, GetWebUI());

Powered by Google App Engine
This is Rietveld 408576698