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

Unified Diff: headless/lib/browser/headless_browser_main_parts.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « headless/lib/browser/headless_browser_impl.cc ('k') | headless/lib/browser/headless_browser_main_parts.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_main_parts.h
diff --git a/headless/lib/browser/headless_browser_main_parts.h b/headless/lib/browser/headless_browser_main_parts.h
index 3b7453ecf9a5bc1db0b98d0e81c978b198d3b0bb..b0e30c397b8c7432c7a762d61244a08918ab0ddd 100644
--- a/headless/lib/browser/headless_browser_main_parts.h
+++ b/headless/lib/browser/headless_browser_main_parts.h
@@ -16,7 +16,7 @@ class DevToolsHttpHandler;
namespace headless {
-class HeadlessBrowserContext;
+class HeadlessBrowserContextImpl;
class HeadlessBrowserImpl;
class HeadlessBrowserMainParts : public content::BrowserMainParts {
@@ -28,11 +28,11 @@ class HeadlessBrowserMainParts : public content::BrowserMainParts {
void PreMainMessageLoopRun() override;
void PostMainMessageLoopRun() override;
- HeadlessBrowserContext* browser_context() const;
+ HeadlessBrowserContextImpl* default_browser_context() const;
private:
HeadlessBrowserImpl* browser_; // Not owned.
- std::unique_ptr<HeadlessBrowserContext> browser_context_;
+ std::unique_ptr<HeadlessBrowserContextImpl> browser_context_;
std::unique_ptr<devtools_http_handler::DevToolsHttpHandler>
devtools_http_handler_;
« no previous file with comments | « headless/lib/browser/headless_browser_impl.cc ('k') | headless/lib/browser/headless_browser_main_parts.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698