| Index: chrome/browser/ui/content_settings/content_setting_bubble_model.cc
|
| ===================================================================
|
| --- chrome/browser/ui/content_settings/content_setting_bubble_model.cc (revision 91771)
|
| +++ chrome/browser/ui/content_settings/content_setting_bubble_model.cc (working copy)
|
| @@ -17,6 +17,7 @@
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/collected_cookies_infobar_delegate.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "chrome/common/pref_names.h"
|
| #include "chrome/common/render_messages.h"
|
| #include "content/browser/renderer_host/render_view_host.h"
|
| @@ -327,7 +328,7 @@
|
| if (!tab_contents())
|
| return;
|
| NotificationService::current()->Notify(
|
| - NotificationType::COLLECTED_COOKIES_SHOWN,
|
| + chrome::COLLECTED_COOKIES_SHOWN,
|
| Source<TabSpecificContentSettings>(tab_contents()->content_settings()),
|
| NotificationService::NoDetails());
|
| browser()->ShowCollectedCookiesDialog(tab_contents()->tab_contents());
|
| @@ -508,7 +509,7 @@
|
| content_type_(content_type) {
|
| registrar_.Add(this, NotificationType::TAB_CONTENTS_DESTROYED,
|
| Source<TabContents>(tab_contents->tab_contents()));
|
| - registrar_.Add(this, NotificationType::PROFILE_DESTROYED,
|
| + registrar_.Add(this, chrome::PROFILE_DESTROYED,
|
| Source<Profile>(profile_));
|
| }
|
|
|
| @@ -543,7 +544,7 @@
|
| DCHECK(source == Source<TabContents>(tab_contents_->tab_contents()));
|
| tab_contents_ = NULL;
|
| break;
|
| - case NotificationType::PROFILE_DESTROYED:
|
| + case chrome::PROFILE_DESTROYED:
|
| DCHECK(source == Source<Profile>(profile_));
|
| profile_ = NULL;
|
| break;
|
|
|