From 77f6fb43d125edea5fe8b76d663de95098baf1de Mon Sep 17 00:00:00 2001
From: "abarth@chromium.org"
 <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sat, 5 Sep 2009 14:21:09 +0000
Subject: Rename X-Force-TLS to Strict-Transport-Security.

Also, remove StrictTransportSecurity code from SSLPolicy because that code
doesn't work.

R=agl

Review URL: http://codereview.chromium.org/198035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25577 0039d316-1c4b-4281-b951-d872f2087c98
---
 net/url_request/url_request_context.h | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

(limited to 'net/url_request/url_request_context.h')

diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 1c9d1c8..5f852e7 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -20,7 +20,7 @@
 #include "net/proxy/proxy_service.h"
 
 namespace net {
-class ForceTLSState;
+class StrictTransportSecurityState;
 class FtpTransactionFactory;
 class HttpTransactionFactory;
 }
@@ -34,7 +34,7 @@ class URLRequestContext :
       : http_transaction_factory_(NULL),
         ftp_transaction_factory_(NULL),
         cookie_store_(NULL),
-        force_tls_state_(NULL) {
+        strict_transport_security_state_(NULL) {
   }
 
   net::HostResolver* host_resolver() const {
@@ -67,7 +67,8 @@ class URLRequestContext :
   // Gets the cookie policy for this context.
   net::CookiePolicy* cookie_policy() { return &cookie_policy_; }
 
-  net::ForceTLSState* force_tls_state() { return force_tls_state_; }
+  net::StrictTransportSecurityState* strict_transport_security_state() {
+      return strict_transport_security_state_; }
 
   // Gets the FTP authentication cache for this context.
   net::FtpAuthCache* ftp_auth_cache() { return &ftp_auth_cache_; }
@@ -119,7 +120,7 @@ class URLRequestContext :
   net::FtpTransactionFactory* ftp_transaction_factory_;
   scoped_refptr<net::CookieStore> cookie_store_;
   net::CookiePolicy cookie_policy_;
-  net::ForceTLSState* force_tls_state_;;
+  net::StrictTransportSecurityState* strict_transport_security_state_;
   net::FtpAuthCache ftp_auth_cache_;
   std::string accept_language_;
   std::string accept_charset_;
-- 
cgit v1.1