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

Unified Diff: chrome/browser/fast_shutdown_browsertest.cc

Issue 10807047: Create content\public\test\test_utils.h to hold common test classes that are used by unit and brows… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 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 | « chrome/browser/extensions/plugin_apitest.cc ('k') | chrome/browser/geolocation/geolocation_browsertest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/fast_shutdown_browsertest.cc
===================================================================
--- chrome/browser/fast_shutdown_browsertest.cc (revision 147577)
+++ chrome/browser/fast_shutdown_browsertest.cc (working copy)
@@ -87,9 +87,9 @@
GURL url = test_server()->GetURL("files/fast_shutdown/on_unloader.html");
EXPECT_EQ("", GetCookies(url));
- ui_test_utils::WindowedNotificationObserver window_observer(
- chrome::NOTIFICATION_BROWSER_WINDOW_READY,
- content::NotificationService::AllSources());
+ content::WindowedNotificationObserver window_observer(
+ chrome::NOTIFICATION_BROWSER_WINDOW_READY,
+ content::NotificationService::AllSources());
ui_test_utils::NavigateToURLWithDisposition(
browser(), url, NEW_FOREGROUND_TAB, ui_test_utils::BROWSER_TEST_NONE);
window_observer.Wait();
@@ -102,9 +102,9 @@
// Need to wait for the renderer process to shutdown to ensure that we got the
// set cookies IPC.
- ui_test_utils::WindowedNotificationObserver renderer_shutdown_observer(
- content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
- content::NotificationService::AllSources());
+ content::WindowedNotificationObserver renderer_shutdown_observer(
+ content::NOTIFICATION_RENDERER_PROCESS_TERMINATED,
+ content::NotificationService::AllSources());
// Close the tab. This should launch the unload handler, which sets a cookie
// that's stored to disk.
chrome::CloseTab(browser());
« no previous file with comments | « chrome/browser/extensions/plugin_apitest.cc ('k') | chrome/browser/geolocation/geolocation_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698