Index: headless/lib/browser/headless_browser_impl.h |
diff --git a/headless/lib/browser/headless_browser_impl.h b/headless/lib/browser/headless_browser_impl.h |
index 76acc0f4a5677de9571b4b1144d450a1afac3f57..219659e2c8994d62c3ca469f3f1f73548ec6bdd9 100644 |
--- a/headless/lib/browser/headless_browser_impl.h |
+++ b/headless/lib/browser/headless_browser_impl.h |
@@ -72,6 +72,8 @@ class HEADLESS_EXPORT HeadlessBrowserImpl : public HeadlessBrowser, |
// (all web contents associated with it go away too). |
void DestroyBrowserContext(HeadlessBrowserContextImpl* browser_context); |
+ HeadlessWebContentsImpl* GetWebContentsForWindowId(int window_id); |
Sami
2017/05/24 17:50:54
nit: const?
jzfeng
2017/05/25 01:10:50
Done.
|
+ |
base::WeakPtr<HeadlessBrowserImpl> GetWeakPtr(); |
// All the methods that begin with Platform need to be implemented by the |