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

Unified Diff: chrome/browser/instant/instant_browsertest.cc

Issue 10882071: Fixes for bunch of browser tests that are trying to load content from file: schema. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/instant/instant_browsertest.cc
diff --git a/chrome/browser/instant/instant_browsertest.cc b/chrome/browser/instant/instant_browsertest.cc
index 9d9a6d2c5b94513c7d1f72363677bea892789d90..23999197532a50e24343d1f5502b192c5176fd23 100644
--- a/chrome/browser/instant/instant_browsertest.cc
+++ b/chrome/browser/instant/instant_browsertest.cc
@@ -767,14 +767,14 @@ IN_PROC_BROWSER_TEST_F(InstantTest, TaskManagerPrefix) {
// rows initially, one for the browser process and one for tab's renderer.
TaskManagerModel* task_manager = TaskManager::GetInstance()->model();
task_manager->StartUpdating();
- TaskManagerBrowserTestUtil::WaitForResourceChange(2);
+ TaskManagerBrowserTestUtil::WaitForWebResourceChange(1);
ASSERT_NO_FATAL_FAILURE(SetupInstant("instant.html"));
instant()->OnAutocompleteGotFocus();
WaitFor(chrome::NOTIFICATION_INSTANT_SUPPORT_DETERMINED);
// Now there should be three rows, the third being the Instant preview.
- TaskManagerBrowserTestUtil::WaitForResourceChange(3);
+ TaskManagerBrowserTestUtil::WaitForWebResourceChange(2);
string16 prefix = l10n_util::GetStringFUTF16(
IDS_TASK_MANAGER_INSTANT_PREVIEW_PREFIX, string16());
string16 title = task_manager->GetResourceTitle(2);
« no previous file with comments | « no previous file | chrome/browser/net/chrome_network_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698