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

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

Issue 1674263002: headless: Initial headless embedder API implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fine, no console logging Mr. Presubmit. Created 4 years, 10 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
« no previous file with comments | « headless/lib/browser/headless_content_browser_client.cc ('k') | headless/lib/browser/headless_devtools.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_devtools.h
diff --git a/headless/lib/browser/headless_devtools.h b/headless/lib/browser/headless_devtools.h
new file mode 100644
index 0000000000000000000000000000000000000000..96f633347137e59be10f1985eb2105937672a9de
--- /dev/null
+++ b/headless/lib/browser/headless_devtools.h
@@ -0,0 +1,24 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
+#define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
+
+#include "base/memory/scoped_ptr.h"
+
+namespace devtools_http_handler {
+class DevToolsHttpHandler;
+}
+
+namespace headless {
+class HeadlessBrowserContext;
+
+// Starts a DevTools HTTP handler on the loopback interface on the port
+// configured by HeadlessBrowser::Options.
+scoped_ptr<devtools_http_handler::DevToolsHttpHandler>
+CreateLocalDevToolsHttpHandler(HeadlessBrowserContext* browser_context);
+
+} // namespace content
+
+#endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
« no previous file with comments | « headless/lib/browser/headless_content_browser_client.cc ('k') | headless/lib/browser/headless_devtools.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698