Index: content/browser/renderer_host/render_process_host_impl.h |
diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h |
index f07c487e4e52667c9df5b5218d768752309b6b0b..f97cd70afc3b22d9cb4f2afe1a07f375661456ca 100644 |
--- a/content/browser/renderer_host/render_process_host_impl.h |
+++ b/content/browser/renderer_host/render_process_host_impl.h |
@@ -336,14 +336,14 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// Generates a command line to be used to spawn a renderer and appends the |
// results to |*command_line|. |
- void AppendRendererCommandLine(base::CommandLine* command_line) const; |
+ void AppendRendererCommandLine(base::CommandLine* command_line); |
// Copies applicable command line switches from the given |browser_cmd| line |
// flags to the output |renderer_cmd| line flags. Not all switches will be |
// copied over. |
void PropagateBrowserCommandLineToRenderer( |
const base::CommandLine& browser_cmd, |
- base::CommandLine* renderer_cmd) const; |
+ base::CommandLine* renderer_cmd); |
// Inspects the current object state and sets/removes background priority if |
// appropriate. Should be called after any of the involved data members |
@@ -558,6 +558,12 @@ class CONTENT_EXPORT RenderProcessHostImpl |
// The memory allocator, if any, in which the renderer will write its metrics. |
std::unique_ptr<base::SharedPersistentMemoryAllocator> metrics_allocator_; |
+ // Anonymous shared memory segment to share with subprocess containing list of |
+ // field trials (represented as a string). |
+ // TODO(crbug.com/653874): Eventually remove this and use single shared memory |
+ // object across processes. |
+ std::unique_ptr<base::SharedMemory> field_trial_state_; |
+ |
bool channel_connected_; |
bool sent_render_process_ready_; |