diff options
author | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 22:00:08 +0000 |
---|---|---|
committer | palmer@chromium.org <palmer@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-17 22:00:08 +0000 |
commit | e3cf2313e15f3e8660e1d2948aad4670f040fe91 (patch) | |
tree | c200f81aeb4c894ee206ed007bf9a66f4ae87ded /webkit | |
parent | 5922cb23df5b69ece5fb4a022521a591cad21cf4 (diff) | |
download | chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.zip chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.gz chromium_src-e3cf2313e15f3e8660e1d2948aad4670f040fe91.tar.bz2 |
Rename is_hsts_host to fatal.
Per wtc: the old name was too specific, and became confusing because we now
also have certificate errors that users cannot override, but for reasons
other than (although still closely related to) HSTS.
BUG=109941
Review URL: https://chromiumcodereview.appspot.com/9188019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@117968 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r-- | webkit/fileapi/file_writer_delegate.cc | 2 | ||||
-rw-r--r-- | webkit/fileapi/file_writer_delegate.h | 2 | ||||
-rw-r--r-- | webkit/tools/test_shell/simple_resource_loader_bridge.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/webkit/fileapi/file_writer_delegate.cc b/webkit/fileapi/file_writer_delegate.cc index 16c6c63..d28ef66 100644 --- a/webkit/fileapi/file_writer_delegate.cc +++ b/webkit/fileapi/file_writer_delegate.cc @@ -158,7 +158,7 @@ void FileWriterDelegate::OnCertificateRequested( void FileWriterDelegate::OnSSLCertificateError(net::URLRequest* request, const net::SSLInfo& ssl_info, - bool is_hsts_host) { + bool fatal) { NOTREACHED(); OnError(base::PLATFORM_FILE_ERROR_SECURITY); } diff --git a/webkit/fileapi/file_writer_delegate.h b/webkit/fileapi/file_writer_delegate.h index 81f2d29..995b057 100644 --- a/webkit/fileapi/file_writer_delegate.h +++ b/webkit/fileapi/file_writer_delegate.h @@ -45,7 +45,7 @@ class FileWriterDelegate : public net::URLRequest::Delegate { net::SSLCertRequestInfo* cert_request_info) OVERRIDE; virtual void OnSSLCertificateError(net::URLRequest* request, const net::SSLInfo& ssl_info, - bool is_hsts_host) OVERRIDE; + bool fatal) OVERRIDE; virtual void OnResponseStarted(net::URLRequest* request) OVERRIDE; virtual void OnReadCompleted(net::URLRequest* request, int bytes_read) OVERRIDE; diff --git a/webkit/tools/test_shell/simple_resource_loader_bridge.cc b/webkit/tools/test_shell/simple_resource_loader_bridge.cc index 958d662..102f7ac 100644 --- a/webkit/tools/test_shell/simple_resource_loader_bridge.cc +++ b/webkit/tools/test_shell/simple_resource_loader_bridge.cc @@ -465,7 +465,7 @@ class RequestProxy : public net::URLRequest::Delegate, virtual void OnSSLCertificateError(net::URLRequest* request, const net::SSLInfo& ssl_info, - bool is_hsts_host) OVERRIDE { + bool fatal) OVERRIDE { // Allow all certificate errors. request->ContinueDespiteLastError(); } |