Index: content/common/child_process_host_impl.h |
diff --git a/content/common/child_process_host_impl.h b/content/common/child_process_host_impl.h |
index 18875c94e67028db164d96d82c55bb1e7d74dfc8..dcb678107e71883a11589310c5e666e315b771b5 100644 |
--- a/content/common/child_process_host_impl.h |
+++ b/content/common/child_process_host_impl.h |
@@ -23,6 +23,7 @@ |
#include "ui/gfx/gpu_memory_buffer.h" |
namespace base { |
+class CommandLine; |
class FilePath; |
} |
@@ -61,6 +62,11 @@ class CONTENT_EXPORT ChildProcessHostImpl : public ChildProcessHost, |
// This will never return ChildProcessHost::kInvalidUniqueID. |
static int GenerateChildProcessUniqueId(); |
+ // Copies kEnableFeatures and kDisableFeatures to the command line. Generates |
+ // them from the FeatureList override state, to take into account overrides |
+ // from FieldTrials. |
+ static void CopyEnableDisableFeatureFlags(base::CommandLine* cmd_line); |
+ |
// Derives a tracing process id from a child process id. Child process ids |
// cannot be used directly in child process for tracing due to security |
// reasons (see: discussion in crrev.com/1173263004). This method is meant to |