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

Unified Diff: headless/lib/browser/headless_devtools.h

Issue 2181413002: [headless] Remove default browser context. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes according to Sami's comments Created 4 years, 4 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.h
diff --git a/headless/lib/browser/headless_devtools.h b/headless/lib/browser/headless_devtools.h
index b2b4a6aff80e4e1dc2b6b3b5c41a4c4becdbf115..cf6b9c421abf34e45f729683def0ac8ee99ebc28 100644
--- a/headless/lib/browser/headless_devtools.h
+++ b/headless/lib/browser/headless_devtools.h
@@ -7,18 +7,19 @@
#include <memory>
+#include "headless/public/headless_browser.h"
+
namespace devtools_http_handler {
class DevToolsHttpHandler;
}
namespace headless {
-class HeadlessBrowserContextImpl;
// Starts a DevTools HTTP handler on the loopback interface on the port
// configured by HeadlessBrowser::Options.
std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
-CreateLocalDevToolsHttpHandler(HeadlessBrowserContextImpl* browser_context);
+CreateLocalDevToolsHttpHandler(HeadlessBrowser::Options* options);
-} // namespace content
+} // namespace headless
#endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_

Powered by Google App Engine
This is Rietveld 408576698