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

Unified Diff: headless/lib/headless_content_main_delegate.h

Issue 2712093002: Enable building headless_shell in MAC. This is an initial implementation with a hidden window, rath… (Closed)
Patch Set: Fixed incorrect Zygote func Created 3 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
Index: headless/lib/headless_content_main_delegate.h
diff --git a/headless/lib/headless_content_main_delegate.h b/headless/lib/headless_content_main_delegate.h
index 35eff70c0077fcabe68a2617566f1b8e63fb0c06..9534cd8282b0a8833dac504fb214dec16f7d2983 100644
--- a/headless/lib/headless_content_main_delegate.h
+++ b/headless/lib/headless_content_main_delegate.h
@@ -35,11 +35,15 @@ class HeadlessContentMainDelegate : public content::ContentMainDelegate {
int RunProcess(
const std::string& process_type,
const content::MainFunctionParams& main_function_params) override;
- void ZygoteForked() override;
content::ContentBrowserClient* CreateContentBrowserClient() override;
HeadlessBrowserImpl* browser() const { return browser_.get(); }
+ protected:
Sami 2017/02/24 11:41:57 Why protected? This looks like part of the public
dvallet 2017/02/27 03:08:28 Sorry, moved by mistake
+#if !defined(OS_MACOSX) && defined(OS_POSIX) && !defined(OS_ANDROID)
+ void ZygoteForked() override;
+#endif
+
private:
friend class HeadlessBrowserTest;

Powered by Google App Engine
This is Rietveld 408576698