| Index: chrome/browser/net/ssl_config_service_manager_pref.cc
|
| diff --git a/chrome/browser/net/ssl_config_service_manager_pref.cc b/chrome/browser/net/ssl_config_service_manager_pref.cc
|
| index f605079f54755ac153455d821c54e34aa4d3ed77..f419580269d767a52529adef0e3fd74f703a8798 100644
|
| --- a/chrome/browser/net/ssl_config_service_manager_pref.cc
|
| +++ b/chrome/browser/net/ssl_config_service_manager_pref.cc
|
| @@ -19,21 +19,15 @@
|
| #include "chrome/common/pref_names.h"
|
| #include "components/content_settings/core/browser/content_settings_utils.h"
|
| #include "components/content_settings/core/common/content_settings.h"
|
| -#include "components/google/core/browser/google_util.h"
|
| #include "content/public/browser/browser_thread.h"
|
| #include "net/socket/ssl_client_socket.h"
|
| #include "net/ssl/ssl_cipher_suite_names.h"
|
| #include "net/ssl/ssl_config_service.h"
|
| -#include "url/gurl.h"
|
|
|
| using content::BrowserThread;
|
|
|
| namespace {
|
|
|
| -// Field trial for ClientHello padding.
|
| -const char kClientHelloFieldTrialName[] = "FastRadioPadding";
|
| -const char kClientHelloFieldTrialEnabledGroupName[] = "Enabled";
|
| -
|
| // Converts a ListValue of StringValues into a vector of strings. Any Values
|
| // which cannot be converted will be skipped.
|
| std::vector<std::string> ListValueToStringVector(const base::ListValue* value) {
|
| @@ -100,8 +94,6 @@ class SSLConfigServicePref : public net::SSLConfigService {
|
| // Store SSL config settings in |config|. Must only be called from IO thread.
|
| void GetSSLConfig(net::SSLConfig* config) override;
|
|
|
| - bool SupportsFastradioPadding(const GURL& url) override;
|
| -
|
| private:
|
| // Allow the pref watcher to update our internal state.
|
| friend class SSLConfigServiceManagerPref;
|
| @@ -123,11 +115,6 @@ void SSLConfigServicePref::GetSSLConfig(net::SSLConfig* config) {
|
| *config = cached_config_;
|
| }
|
|
|
| -bool SSLConfigServicePref::SupportsFastradioPadding(const GURL& url) {
|
| - return google_util::IsGoogleHostname(url.host(),
|
| - google_util::ALLOW_SUBDOMAIN);
|
| -}
|
| -
|
| void SSLConfigServicePref::SetNewSSLConfig(
|
| const net::SSLConfig& new_config) {
|
| net::SSLConfig orig_config = cached_config_;
|
| @@ -293,12 +280,6 @@ void SSLConfigServiceManagerPref::GetSSLConfigFromPrefs(
|
| config->disabled_cipher_suites = disabled_cipher_suites_;
|
| // disabling False Start also happens to disable record splitting.
|
| config->false_start_enabled = !ssl_record_splitting_disabled_.GetValue();
|
| -
|
| - base::StringPiece group =
|
| - base::FieldTrialList::FindFullName(kClientHelloFieldTrialName);
|
| - if (group.starts_with(kClientHelloFieldTrialEnabledGroupName)) {
|
| - config->fastradio_padding_enabled = true;
|
| - }
|
| }
|
|
|
| void SSLConfigServiceManagerPref::OnDisabledCipherSuitesChange(
|
|
|