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

Unified Diff: chrome/browser/prerender/prerender_contents.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/prerender/prerender_contents.cc
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
index 0b3e1b91dbeb844cbcd2a2a5697f4f7a6c94156b..d77be833894aa7721127fabf6d02e537217bc390 100644
--- a/chrome/browser/prerender/prerender_contents.cc
+++ b/chrome/browser/prerender/prerender_contents.cc
@@ -358,7 +358,7 @@ void PrerenderContents::StartPrerendering(
// Register to inform new RenderViews that we're prerendering.
notification_registrar_.Add(
- this, content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB,
+ this, content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED,
content::Source<WebContents>(new_contents));
// Register for redirect notifications sourced from |this|.
@@ -458,7 +458,7 @@ void PrerenderContents::Observe(int type,
break;
}
- case content::NOTIFICATION_RENDER_VIEW_HOST_CREATED_FOR_TAB: {
+ case content::NOTIFICATION_WEB_CONTENTS_RENDER_VIEW_HOST_CREATED: {
if (prerender_contents_.get()) {
DCHECK_EQ(content::Source<WebContents>(source).ptr(),
prerender_contents_->web_contents());

Powered by Google App Engine
This is Rietveld 408576698