Move notifications only used in chrome/ to chrome/, renames one notification for clarity.
BUG=137741
TEST=compiles
Review URL: https://chromiumcodereview.appspot.com/10779042
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147307 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/prerender/prerender_contents.cc b/chrome/browser/prerender/prerender_contents.cc
index 0b3e1b9..d77be83 100644
--- a/chrome/browser/prerender/prerender_contents.cc
+++ b/chrome/browser/prerender/prerender_contents.cc
@@ -358,7 +358,7 @@
// 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 @@
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());