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

Unified Diff: content/browser/browser_child_process_host_impl.cc

Issue 2546653002: Store and retrieve features from shared memory (Closed)
Patch Set: Created 4 years 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
« base/metrics/field_trial.h ('K') | « base/metrics/field_trial.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/browser_child_process_host_impl.cc
diff --git a/content/browser/browser_child_process_host_impl.cc b/content/browser/browser_child_process_host_impl.cc
index c786b11b297cb2accdb11f6e0765ed8ad9c88d7a..95ec29557dba6c60de9f54179a8369e5587751ef 100644
--- a/content/browser/browser_child_process_host_impl.cc
+++ b/content/browser/browser_child_process_host_impl.cc
@@ -219,15 +219,6 @@ void BrowserChildProcessHostImpl::TerminateAll() {
// static
void BrowserChildProcessHostImpl::CopyFeatureAndFieldTrialFlags(
base::CommandLine* cmd_line) {
- std::string enabled_features;
- std::string disabled_features;
- base::FeatureList::GetInstance()->GetFeatureOverrides(&enabled_features,
- &disabled_features);
- if (!enabled_features.empty())
- cmd_line->AppendSwitchASCII(switches::kEnableFeatures, enabled_features);
- if (!disabled_features.empty())
- cmd_line->AppendSwitchASCII(switches::kDisableFeatures, disabled_features);
-
// If we run base::FieldTrials, we want to pass to their state to the
// child process so that it can act in accordance with each state.
base::FieldTrialList::CopyFieldTrialStateToFlags(switches::kFieldTrialHandle,
« base/metrics/field_trial.h ('K') | « base/metrics/field_trial.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698