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

Unified Diff: chrome/browser/extensions/platform_app_browsertest_util.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/platform_app_browsertest.cc ('k') | chrome/browser/extensions/plugin_apitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/platform_app_browsertest_util.cc
===================================================================
--- chrome/browser/extensions/platform_app_browsertest_util.cc (revision 147577)
+++ chrome/browser/extensions/platform_app_browsertest_util.cc (working copy)
@@ -13,8 +13,8 @@
#include "chrome/browser/ui/extensions/application_launch.h"
#include "chrome/browser/ui/extensions/shell_window.h"
#include "chrome/common/chrome_switches.h"
-#include "chrome/test/base/ui_test_utils.h"
#include "content/public/browser/notification_service.h"
+#include "content/public/test/test_utils.h"
using content::WebContents;
using extensions::Extension;
@@ -29,7 +29,7 @@
const Extension* PlatformAppBrowserTest::LoadAndLaunchPlatformApp(
const char* name) {
- ui_test_utils::WindowedNotificationObserver app_loaded_observer(
+ content::WindowedNotificationObserver app_loaded_observer(
content::NOTIFICATION_LOAD_COMPLETED_MAIN_FRAME,
content::NotificationService::AllSources());
@@ -111,7 +111,7 @@
}
void PlatformAppBrowserTest::CloseShellWindow(ShellWindow* window) {
- ui_test_utils::WindowedNotificationObserver destroyed_observer(
+ content::WindowedNotificationObserver destroyed_observer(
content::NOTIFICATION_WEB_CONTENTS_DESTROYED,
content::NotificationService::AllSources());
window->Close();
« no previous file with comments | « chrome/browser/extensions/platform_app_browsertest.cc ('k') | chrome/browser/extensions/plugin_apitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698