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

Unified Diff: chrome/browser/chrome_content_browser_client.cc

Issue 1737693002: Allow command-line arguments to override EF public key (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressing feedback from PS#4 Created 4 years, 10 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: chrome/browser/chrome_content_browser_client.cc
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
index 3e884bb11b7b4f72fe1d410d8bbce349972e3277..5eb0c5dcdd0836b543810ad98a5fcda14b98e99f 100644
--- a/chrome/browser/chrome_content_browser_client.cc
+++ b/chrome/browser/chrome_content_browser_client.cc
@@ -51,6 +51,7 @@
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings.h"
#include "chrome/browser/net/spdyproxy/data_reduction_proxy_chrome_settings_factory.h"
#include "chrome/browser/notifications/platform_notification_service_impl.h"
+#include "chrome/browser/origin_trials/origin_trial_controller.h"
#include "chrome/browser/platform_util.h"
#include "chrome/browser/prerender/prerender_final_status.h"
#include "chrome/browser/prerender/prerender_manager.h"
@@ -1590,6 +1591,8 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
MaybeAppendBlinkSettingsSwitchForFieldTrial(
browser_command_line, command_line);
+ OriginTrialController::UpdateCommandLineFromFieldTrials(command_line);
+
// Please keep this in alphabetical order.
static const char* const kSwitchNames[] = {
#if defined(OS_ANDROID)
@@ -1642,6 +1645,7 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches(
#endif
switches::kJavaScriptHarmony,
switches::kMessageLoopHistogrammer,
+ switches::kOriginTrialPublicKey,
switches::kPpapiFlashArgs,
switches::kPpapiFlashPath,
switches::kPpapiFlashVersion,

Powered by Google App Engine
This is Rietveld 408576698