Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(360)

Unified Diff: chrome/browser/tab_restore_browsertest.cc

Issue 10079023: Move notifications used only in chrome/ out of content/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: six! Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_restore_browsertest.cc
diff --git a/chrome/browser/tab_restore_browsertest.cc b/chrome/browser/tab_restore_browsertest.cc
index 50427202712d0f297b8be6a944bb4a5392cbe4d9..1fcfb14ce68f3015da35a01917d3476cc2e124e5 100644
--- a/chrome/browser/tab_restore_browsertest.cc
+++ b/chrome/browser/tab_restore_browsertest.cc
@@ -64,7 +64,7 @@ class TabRestoreTest : public InProcessBrowserTest {
void CloseTab(int index) {
content::WebContents* new_tab = browser()->GetWebContentsAt(index);
ui_test_utils::WindowedNotificationObserver tab_close_observer(
- content::NOTIFICATION_TAB_CLOSED,
+ content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
content::NotificationService::AllSources());
browser()->CloseTabContents(new_tab);
tab_close_observer.Wait();
@@ -94,7 +94,7 @@ class TabRestoreTest : public InProcessBrowserTest {
// Restore the tab.
ui_test_utils::WindowedNotificationObserver tab_added_observer(
- content::NOTIFICATION_TAB_PARENTED,
+ chrome::NOTIFICATION_TAB_PARENTED,
content::NotificationService::AllSources());
ui_test_utils::WindowedNotificationObserver tab_loaded_observer(
content::NOTIFICATION_LOAD_STOP,

Powered by Google App Engine
This is Rietveld 408576698