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

Side by Side Diff: chrome/browser/ui/search/instant_extended_manual_interactive_uitest.cc

Issue 14235006: Rename Instant browser tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@storage_unit_test
Patch Set: Rebase to upstream to avoid AUTHORS conflict Created 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/string_util.h" 5 #include "base/string_util.h"
6 #include "chrome/browser/search/search.h" 6 #include "chrome/browser/search/search.h"
7 #include "chrome/browser/task_manager/task_manager.h" 7 #include "chrome/browser/task_manager/task_manager.h"
8 #include "chrome/browser/task_manager/task_manager_browsertest_util.h" 8 #include "chrome/browser/task_manager/task_manager_browsertest_util.h"
9 #include "chrome/browser/ui/browser.h" 9 #include "chrome/browser/ui/browser.h"
10 #include "chrome/browser/ui/browser_commands.h" 10 #include "chrome/browser/ui/browser_commands.h"
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 content::WindowedNotificationObserver nav_observer( 420 content::WindowedNotificationObserver nav_observer(
421 content::NOTIFICATION_NAV_ENTRY_COMMITTED, 421 content::NOTIFICATION_NAV_ENTRY_COMMITTED,
422 content::NotificationService::AllSources()); 422 content::NotificationService::AllSources());
423 omnibox()->model()->OnControlKeyChanged(true); 423 omnibox()->model()->OnControlKeyChanged(true);
424 browser()->window()->GetLocationBar()->AcceptInput(); 424 browser()->window()->GetLocationBar()->AcceptInput();
425 nav_observer.Wait(); 425 nav_observer.Wait();
426 // example.com redirects to iana. 426 // example.com redirects to iana.
427 EXPECT_TRUE(GetActiveTabURL().DomainIs("example.com") || 427 EXPECT_TRUE(GetActiveTabURL().DomainIs("example.com") ||
428 GetActiveTabURL().DomainIs("iana.org")); 428 GetActiveTabURL().DomainIs("iana.org"));
429 } 429 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698