| Index: chrome/browser/sync/glue/session_change_processor.cc
|
| ===================================================================
|
| --- chrome/browser/sync/glue/session_change_processor.cc (revision 91771)
|
| +++ chrome/browser/sync/glue/session_change_processor.cc (working copy)
|
| @@ -16,6 +16,7 @@
|
| #include "chrome/browser/sync/glue/session_model_associator.h"
|
| #include "chrome/browser/sync/profile_sync_service.h"
|
| #include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
|
| +#include "chrome/common/chrome_notification_types.h"
|
| #include "content/browser/tab_contents/navigation_controller.h"
|
| #include "content/browser/tab_contents/tab_contents.h"
|
| #include "content/common/notification_details.h"
|
| @@ -64,7 +65,7 @@
|
| std::vector<TabContentsWrapper*> modified_tabs;
|
| bool windows_changed = false;
|
| switch (type.value) {
|
| - case NotificationType::BROWSER_OPENED: {
|
| + case chrome::BROWSER_OPENED: {
|
| Browser* browser = Source<Browser>(source).ptr();
|
| if (browser->profile() != profile_) {
|
| return;
|
| @@ -129,7 +130,7 @@
|
| break;
|
| }
|
|
|
| - case NotificationType::TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED: {
|
| + case chrome::TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED: {
|
| ExtensionTabHelper* extension_tab_helper =
|
| Source<ExtensionTabHelper>(source).ptr();
|
| if (extension_tab_helper->tab_contents()->profile() != profile_) {
|
| @@ -220,7 +221,7 @@
|
|
|
| // Notify foreign session handlers that there are new sessions.
|
| NotificationService::current()->Notify(
|
| - NotificationType::FOREIGN_SESSION_UPDATED,
|
| + chrome::FOREIGN_SESSION_UPDATED,
|
| NotificationService::AllSources(),
|
| NotificationService::NoDetails());
|
|
|
| @@ -254,10 +255,10 @@
|
| NotificationService::AllSources());
|
| notification_registrar_.Add(this, NotificationType::NAV_ENTRY_COMMITTED,
|
| NotificationService::AllSources());
|
| - notification_registrar_.Add(this, NotificationType::BROWSER_OPENED,
|
| + notification_registrar_.Add(this, chrome::BROWSER_OPENED,
|
| NotificationService::AllSources());
|
| notification_registrar_.Add(this,
|
| - NotificationType::TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
|
| + chrome::TAB_CONTENTS_APPLICATION_EXTENSION_CHANGED,
|
| NotificationService::AllSources());
|
| }
|
|
|
|
|