Index: content/browser/browser_child_process_host_impl.h |
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h |
index 43cd8bebc276fc86113f28bc3df96f6bb4824306..8c07141f9eb6b9aab800278378e7d636c6f0e87e 100644 |
--- a/content/browser/browser_child_process_host_impl.h |
+++ b/content/browser/browser_child_process_host_impl.h |
@@ -24,6 +24,7 @@ |
#include "content/public/common/child_process_host_delegate.h" |
#if defined(OS_WIN) |
+#include "base/memory/shared_memory.h" |
#include "base/win/object_watcher.h" |
#endif |
@@ -65,11 +66,19 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl |
// Copies kEnableFeatures and kDisableFeatures to the command line. Generates |
// them from the FeatureList override state, to take into account overrides |
// from FieldTrials. |
+ #if defined(OS_WIN) |
+ static void CopyFeatureAndFieldTrialFlags(base::CommandLine* cmd_line, |
+ base::SharedMemory* shared_memory); |
+ #else |
static void CopyFeatureAndFieldTrialFlags(base::CommandLine* cmd_line); |
+ #endif |
// BrowserChildProcessHost implementation: |
bool Send(IPC::Message* message) override; |
void Launch(SandboxedProcessLauncherDelegate* delegate, |
+ #if defined(OS_WIN) |
+ HANDLE field_trial_handle, |
+ #endif |
base::CommandLine* cmd_line, |
bool terminate_on_shutdown) override; |
const ChildProcessData& GetData() const override; |