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

Unified Diff: headless/lib/browser/headless_browser_context.cc

Issue 1790483002: headless: Initialize the browser context (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/lib/browser/headless_browser_context.cc
diff --git a/headless/lib/browser/headless_browser_context.cc b/headless/lib/browser/headless_browser_context.cc
index aca83515ca995e4ab3e68191e662b99430b6769b..dd4231746d79c86267e696ec841e5b1ddc01714d 100644
--- a/headless/lib/browser/headless_browser_context.cc
+++ b/headless/lib/browser/headless_browser_context.cc
@@ -74,6 +74,7 @@ HeadlessBrowserContext::~HeadlessBrowserContext() {
void HeadlessBrowserContext::InitWhileIOAllowed() {
// TODO(skyostil): Allow the embedder to override this.
PathService::Get(base::DIR_EXE, &path_);
+ BrowserContext::Initialize(this, path_);
}
scoped_ptr<content::ZoomLevelDelegate>
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698