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

Unified Diff: content/public/browser/browser_child_process_host.h

Issue 2365273004: Initial implementation for sharing field trial state (win) (Closed)
Patch Set: add feature logic for sharing field trials 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/public/browser/browser_child_process_host.h
diff --git a/content/public/browser/browser_child_process_host.h b/content/public/browser/browser_child_process_host.h
index e0f2d49e881a78627b62fb6215d6f8768d944da3..c5b42f395f4d029d5f5ec00a07e4acef207dd64f 100644
--- a/content/public/browser/browser_child_process_host.h
+++ b/content/public/browser/browser_child_process_host.h
@@ -6,6 +6,7 @@
#define CONTENT_PUBLIC_BROWSER_BROWSER_CHILD_PROCESS_HOST_H_
#include "base/environment.h"
+#include "base/memory/shared_memory.h"
#include "base/process/kill.h"
#include "base/process/process_handle.h"
#include "base/strings/string16.h"
@@ -63,10 +64,10 @@ class CONTENT_EXPORT BrowserChildProcessHost : public IPC::Sender {
// Derived classes call this to launch the child process asynchronously.
// Takes ownership of |cmd_line| and |delegate|.
Alexei Svitkine (slow) 2016/10/04 18:49:36 Document the new param.
lawrencewu 2016/10/05 20:57:56 Done.
- virtual void Launch(
- SandboxedProcessLauncherDelegate* delegate,
- base::CommandLine* cmd_line,
- bool terminate_on_shutdown) = 0;
+ virtual void Launch(SandboxedProcessLauncherDelegate* delegate,
+ base::CommandLine* cmd_line,
+ const base::SharedMemory* field_trial_state,
+ bool terminate_on_shutdown) = 0;
virtual const ChildProcessData& GetData() const = 0;

Powered by Google App Engine
This is Rietveld 408576698