| Index: chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc
|
| ===================================================================
|
| --- chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc (revision 91968)
|
| +++ chrome/browser/ui/search_engines/template_url_fetcher_ui_callbacks.cc (working copy)
|
| @@ -10,8 +10,8 @@
|
| #include "chrome/browser/ui/search_engines/search_engine_tab_helper.h"
|
| #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| +#include "content/common/content_notification_types.h"
|
| #include "content/common/notification_source.h"
|
| -#include "content/common/notification_type.h"
|
|
|
| TemplateURLFetcherUICallbacks::TemplateURLFetcherUICallbacks(
|
| SearchEngineTabHelper* tab_helper,
|
| @@ -19,7 +19,7 @@
|
| : source_(tab_helper),
|
| tab_contents_(tab_contents) {
|
| registrar_.Add(this,
|
| - NotificationType::TAB_CONTENTS_DESTROYED,
|
| + content::NOTIFICATION_TAB_CONTENTS_DESTROYED,
|
| Source<TabContents>(tab_contents_));
|
| }
|
|
|
| @@ -51,10 +51,10 @@
|
| }
|
|
|
| void TemplateURLFetcherUICallbacks::Observe(
|
| - NotificationType type,
|
| + int type,
|
| const NotificationSource& source,
|
| const NotificationDetails& details) {
|
| - DCHECK(type == NotificationType::TAB_CONTENTS_DESTROYED);
|
| + DCHECK(type == content::NOTIFICATION_TAB_CONTENTS_DESTROYED);
|
| DCHECK(source == Source<TabContents>(tab_contents_));
|
| source_ = NULL;
|
| tab_contents_ = NULL;
|
|
|