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

Side by Side Diff: headless/lib/browser/headless_devtools.h

Issue 2043603004: headless: Introduce a browser context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits Created 4 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ 5 #ifndef HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ 6 #define HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 namespace devtools_http_handler { 10 namespace devtools_http_handler {
11 class DevToolsHttpHandler; 11 class DevToolsHttpHandler;
12 } 12 }
13 13
14 namespace headless { 14 namespace headless {
15 class HeadlessBrowserContext; 15 class HeadlessBrowserContextImpl;
16 16
17 // Starts a DevTools HTTP handler on the loopback interface on the port 17 // Starts a DevTools HTTP handler on the loopback interface on the port
18 // configured by HeadlessBrowser::Options. 18 // configured by HeadlessBrowser::Options.
19 std::unique_ptr<devtools_http_handler::DevToolsHttpHandler> 19 std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
20 CreateLocalDevToolsHttpHandler(HeadlessBrowserContext* browser_context); 20 CreateLocalDevToolsHttpHandler(HeadlessBrowserContextImpl* browser_context);
21 21
22 } // namespace content 22 } // namespace content
23 23
24 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_ 24 #endif // HEADLESS_LIB_BROWSER_HEADLESS_DEVTOOLS_H_
OLDNEW
« no previous file with comments | « headless/lib/browser/headless_browser_main_parts.cc ('k') | headless/lib/browser/headless_devtools.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698