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

Unified Diff: content/browser/child_process_launcher.h

Issue 2365273004: Initial implementation for sharing field trial state (win) (Closed)
Patch Set: Remove windows macro causing compilation issue 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
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..8c42047de852253bbb2209649d926582cd4503ff 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"
@@ -76,6 +77,7 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
// callback must be safe to call from any thread.
ChildProcessLauncher(
SandboxedProcessLauncherDelegate* delegate,
+ base::SharedMemory* field_trial_state,
base::CommandLine* cmd_line,
int child_process_id,
Client* client,
@@ -115,6 +117,7 @@ class CONTENT_EXPORT ChildProcessLauncher : public base::NonThreadSafe {
private:
// Posts a task to the launcher thread to do the actual work.
void Launch(SandboxedProcessLauncherDelegate* delegate,
+ base::SharedMemory* field_trial_state,
base::CommandLine* cmd_line,
int child_process_id);

Powered by Google App Engine
This is Rietveld 408576698