diff options
Diffstat (limited to 'chrome/test/automation/browser_proxy.cc')
-rw-r--r-- | chrome/test/automation/browser_proxy.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/chrome/test/automation/browser_proxy.cc b/chrome/test/automation/browser_proxy.cc index 7da15e2..7ecb9d9 100644 --- a/chrome/test/automation/browser_proxy.cc +++ b/chrome/test/automation/browser_proxy.cc @@ -477,3 +477,18 @@ bool BrowserProxy::IsFullscreenBubbleVisible(bool* is_visible) { return sender_->Send(new AutomationMsg_IsFullscreenBubbleVisible(0, handle_, is_visible)); } + +bool BrowserProxy::ShutdownSessionService() { + bool did_shutdown = false; + bool succeeded = sender_->Send( + new AutomationMsg_ShutdownSessionService(0, handle_, &did_shutdown)); + + if (!succeeded) { + DLOG(ERROR) << + "ShutdownSessionService did not complete in a timely fashion"; + return false; + } + + return did_shutdown; +} + |