| Index: chrome/browser/unload_browsertest.cc
|
| ===================================================================
|
| --- chrome/browser/unload_browsertest.cc (revision 147602)
|
| +++ chrome/browser/unload_browsertest.cc (working copy)
|
| @@ -24,6 +24,7 @@
|
| #include "content/public/browser/browser_thread.h"
|
| #include "content/public/browser/notification_service.h"
|
| #include "content/public/browser/web_contents.h"
|
| +#include "content/public/test/browser_test_utils.h"
|
| #include "content/test/net/url_request_mock_http_job.h"
|
| #include "net/url_request/url_request_test_util.h"
|
|
|
| @@ -275,7 +276,7 @@
|
| // won't put up the beforeunload dialog because it's waiting for an ack from
|
| // the renderer.
|
| string16 expected_title = ASCIIToUTF16("cancelled");
|
| - ui_test_utils::TitleWatcher title_watcher(
|
| + content::TitleWatcher title_watcher(
|
| chrome::GetActiveWebContents(browser()), expected_title);
|
| ClickModalDialogButton(false);
|
| ASSERT_EQ(expected_title, title_watcher.WaitAndGetTitle());
|
|
|