| Index: chrome/browser/prerender/prerender_contents.cc
|
| ===================================================================
|
| --- chrome/browser/prerender/prerender_contents.cc (revision 91771)
|
| +++ chrome/browser/prerender/prerender_contents.cc (working copy)
|
| @@ -20,6 +20,7 @@
|
| #include "chrome/browser/ui/browser_list.h"
|
| #include "chrome/browser/ui/download/download_tab_helper.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/icon_messages.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "chrome/common/url_constants.h"
|
| @@ -229,7 +230,7 @@
|
| // as well (should only be called for OTR profiles, as we should receive
|
| // APP_TERMINATING before non-OTR profiles are destroyed).
|
| // TODO(tburkard): figure out if this is needed.
|
| - notification_registrar_.Add(this, NotificationType::PROFILE_DESTROYED,
|
| + notification_registrar_.Add(this, chrome::PROFILE_DESTROYED,
|
| Source<Profile>(profile_));
|
|
|
| // Register to inform new RenderViews that we're prerendering.
|
| @@ -315,7 +316,7 @@
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| switch (type.value) {
|
| - case NotificationType::PROFILE_DESTROYED:
|
| + case chrome::PROFILE_DESTROYED:
|
| Destroy(FINAL_STATUS_PROFILE_DESTROYED);
|
| return;
|
|
|
|
|