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

Unified Diff: content/browser/child_process_launcher.h

Issue 2365273004: Initial implementation for sharing field trial state (win) (Closed)
Patch Set: rebase + gclient sync Created 4 years, 2 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 | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/child_process_launcher.h
diff --git a/content/browser/child_process_launcher.h b/content/browser/child_process_launcher.h
index b0cf02ca54eb731f166218575b235e77dac92fd8..943aba2e1ab89ce640824e2e142e989a06e3086d 100644
--- a/content/browser/child_process_launcher.h
+++ b/content/browser/child_process_launcher.h
@@ -7,6 +7,7 @@
#include "base/files/scoped_file.h"
#include "base/macros.h"
+#include "base/memory/shared_memory.h"
#include "base/memory/weak_ptr.h"
#include "base/process/kill.h"
#include "base/process/launch.h"
@@ -79,6 +80,7 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
base::CommandLine* cmd_line,
int child_process_id,
Client* client,
+ const base::SharedMemory* field_trial_state,
const std::string& mojo_child_token,
const mojo::edk::ProcessErrorCallback& process_error_callback,
bool terminate_on_shutdown = true);
@@ -116,7 +118,8 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
// Posts a task to the launcher thread to do the actual work.
void Launch(SandboxedProcessLauncherDelegate* delegate,
base::CommandLine* cmd_line,
- int child_process_id);
+ int child_process_id,
+ const base::SharedMemory* field_trial_state);
void UpdateTerminationStatus(bool known_dead);
« no previous file with comments | « content/browser/browser_child_process_host_impl.cc ('k') | content/browser/child_process_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698