Move notifications used only in chrome/ out of content/.
Moved NOTIFICATION_TAB_ADDED, NOTIFICATION_TAB_PARENTED, and NOTIFICATION_TAB_CLOSING. Turned NOTIFICATION_TAB_CLOSED into NOTIFICATION_WEB_CONTENTS_DESTROYED.
BUG=76698
TEST=none
Review URL: http://codereview.chromium.org/10079023
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132449 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/extensions/app_process_apitest.cc b/chrome/browser/extensions/app_process_apitest.cc
index fea468a..1e0872e 100644
--- a/chrome/browser/extensions/app_process_apitest.cc
+++ b/chrome/browser/extensions/app_process_apitest.cc
@@ -12,6 +12,7 @@
#include "chrome/browser/ui/browser_list.h"
#include "chrome/browser/ui/browser_window.h"
#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/common/chrome_notification_types.h"
#include "chrome/common/chrome_switches.h"
#include "chrome/common/extensions/extension.h"
#include "chrome/common/extensions/extension_file_util.h"
@@ -126,7 +127,7 @@
EXPECT_FALSE(browser()->GetWebContentsAt(1)->GetWebUI());
ui_test_utils::WindowedNotificationObserver tab_added_observer(
- content::NOTIFICATION_TAB_ADDED,
+ chrome::NOTIFICATION_TAB_ADDED,
content::NotificationService::AllSources());
browser()->NewTab();
tab_added_observer.Wait();
@@ -197,7 +198,7 @@
LOG(INFO) << "Nav 2.";
ui_test_utils::WindowedNotificationObserver tab_added_observer(
- content::NOTIFICATION_TAB_ADDED,
+ chrome::NOTIFICATION_TAB_ADDED,
content::NotificationService::AllSources());
browser()->NewTab();
tab_added_observer.Wait();
@@ -314,7 +315,7 @@
EXPECT_FALSE(browser()->GetWebContentsAt(1)->GetWebUI());
ui_test_utils::WindowedNotificationObserver tab_added_observer(
- content::NOTIFICATION_TAB_ADDED,
+ chrome::NOTIFICATION_TAB_ADDED,
content::NotificationService::AllSources());
browser()->NewTab();
tab_added_observer.Wait();