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

Unified Diff: chrome/browser/instant/instant_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/instant/instant_browsertest.cc
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
index 45d38bea91f217469fe96c52c709f152a6ca6d2a..7d856c503346565e7f665031c725905930a0decf 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -619,7 +619,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest, MAYBE(SearchServerDoesntSupportInstant)) {
SetupInstantProvider("empty.html");
ui_test_utils::WindowedNotificationObserver tab_closed_observer(
- content::NOTIFICATION_TAB_CLOSED,
+ content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
content::NotificationService::AllSources());
omnibox()->SetUserText(ASCIIToUTF16("d"));
@@ -645,7 +645,7 @@ IN_PROC_BROWSER_TEST_F(InstantTest,
EXPECT_FALSE(preview());
ui_test_utils::WindowedNotificationObserver tab_closed_observer(
- content::NOTIFICATION_TAB_CLOSED,
+ content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
content::NotificationService::AllSources());
// Now type in some search text.

Powered by Google App Engine
This is Rietveld 408576698