| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "content/browser/loader/certificate_resource_handler.h" | 5 #include "content/browser/loader/certificate_resource_handler.h" |
| 6 | 6 |
| 7 #include <limits.h> | 7 #include <limits.h> |
| 8 #include <stddef.h> |
| 8 | 9 |
| 9 #include "components/mime_util/mime_util.h" | 10 #include "components/mime_util/mime_util.h" |
| 10 #include "content/browser/loader/resource_request_info_impl.h" | 11 #include "content/browser/loader/resource_request_info_impl.h" |
| 11 #include "content/public/browser/content_browser_client.h" | 12 #include "content/public/browser/content_browser_client.h" |
| 12 #include "content/public/common/resource_response.h" | 13 #include "content/public/common/resource_response.h" |
| 13 #include "net/base/io_buffer.h" | 14 #include "net/base/io_buffer.h" |
| 14 #include "net/url_request/url_request.h" | 15 #include "net/url_request/url_request.h" |
| 15 #include "net/url_request/url_request_status.h" | 16 #include "net/url_request/url_request_status.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 cert_type_, buffer_->StartOfBuffer(), | 103 cert_type_, buffer_->StartOfBuffer(), |
| 103 static_cast<size_t>(buffer_->offset()), info->GetChildID(), | 104 static_cast<size_t>(buffer_->offset()), info->GetChildID(), |
| 104 info->GetRenderFrameID()); | 105 info->GetRenderFrameID()); |
| 105 } | 106 } |
| 106 | 107 |
| 107 void CertificateResourceHandler::OnDataDownloaded(int bytes_downloaded) { | 108 void CertificateResourceHandler::OnDataDownloaded(int bytes_downloaded) { |
| 108 NOTREACHED(); | 109 NOTREACHED(); |
| 109 } | 110 } |
| 110 | 111 |
| 111 } // namespace content | 112 } // namespace content |
| OLD | NEW |