OLD | NEW |
(Empty) | |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ |
| 6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ |
| 7 |
| 8 #include "base/memory/scoped_ptr.h" |
| 9 |
| 10 namespace devtools_http_handler { |
| 11 class DevToolsHttpHandler; |
| 12 } |
| 13 |
| 14 namespace headless { |
| 15 class HeadlessBrowserContext; |
| 16 |
| 17 // Starts a DevTools HTTP handler on the loopback interface on the port |
| 18 // configured by HeadlessBrowser::Options. |
| 19 scoped_ptr<devtools_http_handler::DevToolsHttpHandler> |
| 20 CreateLocalDevToolsHttpHandler(HeadlessBrowserContext* browser_context); |
| 21 |
| 22 } // namespace content |
| 23 |
| 24 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ |
OLD | NEW |