Index: content/browser/appcache/appcache_update_job.cc |
diff --git a/content/browser/appcache/appcache_update_job.cc b/content/browser/appcache/appcache_update_job.cc |
index 2b8b3ecc8169c96ce620dcb407c9398b26f761a0..3d6c7595ae20cedfd9cd6b78d6ff8edf9ff7c7a2 100644 |
--- a/content/browser/appcache/appcache_update_job.cc |
+++ b/content/browser/appcache/appcache_update_job.cc |
@@ -18,6 +18,7 @@ |
#include "net/base/request_priority.h" |
#include "net/http/http_request_headers.h" |
#include "net/http/http_response_headers.h" |
+#include "net/ssl/ssl_info.h" |
#include "net/url_request/url_request_context.h" |
namespace content { |
@@ -229,6 +230,15 @@ void AppCacheUpdateJob::URLFetcher::OnReadCompleted( |
} |
} |
+void AppCacheUpdateJob::URLFetcher::OnSSLCertificateError( |
+ net::URLRequest* request, |
+ const net::SSLInfo& ssl_info, |
+ bool fatal) { |
+ DCHECK(request_ == request); |
+ request->Cancel(); |
+} |
+ |
+ |
void AppCacheUpdateJob::URLFetcher::AddConditionalHeaders( |
const net::HttpResponseHeaders* headers) { |
DCHECK(request_.get() && headers); |