Index: chrome/app/chrome_main_delegate.cc |
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc |
index a11e05d168c31ecd60af20d3c5d72e87474e03a3..ce6210a03e0fd94b079ece6db5a4996e1c2426f8 100644 |
--- a/chrome/app/chrome_main_delegate.cc |
+++ b/chrome/app/chrome_main_delegate.cc |
@@ -630,6 +630,12 @@ bool ChromeMainDelegate::BasicStartupComplete(int* exit_code) { |
} |
#endif |
+ if (command_line.HasSwitch(switches::kOriginTrialPublicKey)) { |
+ chrome_content_client_.origin_trial_key_manager() |
+ ->SetPublicKeyFromASCIIString( |
+ command_line.GetSwitchValueASCII(switches::kOriginTrialPublicKey)); |
+ } |
+ |
content::SetContentClient(&chrome_content_client_); |
return false; |