summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui/ui_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui/ui_test.cc')
-rw-r--r--chrome/test/ui/ui_test.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/test/ui/ui_test.cc b/chrome/test/ui/ui_test.cc
index c3f0c4b..fbf03f9 100644
--- a/chrome/test/ui/ui_test.cc
+++ b/chrome/test/ui/ui_test.cc
@@ -570,6 +570,11 @@ std::wstring UITest::GetDownloadDirectory() {
return download_directory;
}
+void UITest::CloseBrowserAsync(BrowserProxy* browser) const {
+ server_->Send(
+ new AutomationMsg_CloseBrowserRequest(0, browser->handle()));
+}
+
bool UITest::CloseBrowser(BrowserProxy* browser,
bool* application_closed) const {
DCHECK(application_closed);