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

Unified Diff: content/browser/browser_child_process_host_impl.h

Issue 2412113002: Use SharedPersistentMemoryAllocator to share field trial state (Closed)
Patch Set: address comments 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/browser_child_process_host_impl.h
diff --git a/content/browser/browser_child_process_host_impl.h b/content/browser/browser_child_process_host_impl.h
index c88ec6efdaaeedac357d2d3b4ff547981aad193b..cbb7e60f1436e36f8b869c8875dde6a3b58614bf 100644
--- a/content/browser/browser_child_process_host_impl.h
+++ b/content/browser/browser_child_process_host_impl.h
@@ -66,14 +66,12 @@ class CONTENT_EXPORT BrowserChildProcessHostImpl
// Copies kEnableFeatures and kDisableFeatures to the command line. Generates
// them from the FeatureList override state, to take into account overrides
// from FieldTrials.
- static std::unique_ptr<base::SharedMemory> CopyFeatureAndFieldTrialFlags(
- base::CommandLine* cmd_line);
+ static void CopyFeatureAndFieldTrialFlags(base::CommandLine* cmd_line);
// BrowserChildProcessHost implementation:
bool Send(IPC::Message* message) override;
void Launch(SandboxedProcessLauncherDelegate* delegate,
base::CommandLine* cmd_line,
- const base::SharedMemory* field_trial_state,
bool terminate_on_shutdown) override;
const ChildProcessData& GetData() const override;
ChildProcessHost* GetHost() const override;

Powered by Google App Engine
This is Rietveld 408576698