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

Unified Diff: headless/lib/browser/headless_devtools_client_impl.cc

Issue 2119063002: Add commands to manage tabs and contexts to Browser Domain (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix name Created 4 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
Index: headless/lib/browser/headless_devtools_client_impl.cc
diff --git a/headless/lib/browser/headless_devtools_client_impl.cc b/headless/lib/browser/headless_devtools_client_impl.cc
index 41aa4fc69940fe7a4aff31b8aa66d28d81b811fa..a00aa7eadb52d151651ac094bda6d061075d307c 100644
--- a/headless/lib/browser/headless_devtools_client_impl.cc
+++ b/headless/lib/browser/headless_devtools_client_impl.cc
@@ -33,6 +33,7 @@ HeadlessDevToolsClientImpl::HeadlessDevToolsClientImpl()
accessibility_domain_(this),
animation_domain_(this),
application_cache_domain_(this),
+ browser_domain_(this),
cache_storage_domain_(this),
console_domain_(this),
css_domain_(this),
@@ -158,6 +159,10 @@ application_cache::Domain* HeadlessDevToolsClientImpl::GetApplicationCache() {
return &application_cache_domain_;
}
+browser::Domain* HeadlessDevToolsClientImpl::GetBrowser() {
+ return &browser_domain_;
+}
+
cache_storage::Domain* HeadlessDevToolsClientImpl::GetCacheStorage() {
return &cache_storage_domain_;
}

Powered by Google App Engine
This is Rietveld 408576698