Implement clearBrowser().

This commit is contained in:
Simo Kinnunen
2014-04-22 13:52:13 +09:00
parent d037f45b29
commit 1f19fd58c1
4 changed files with 44 additions and 5 deletions

View File

@@ -204,6 +204,12 @@ module.exports = function ControlServiceFactory(
, browser: browser ? browser.id : null
})
}
this.clearBrowser = function(browser) {
return sendTwoWay('browser.clear', {
browser: browser.id
})
}
}
controlService.create = function(target, channel) {