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 "chrome/renderer/security_filter_peer.h" | 5 #include "chrome/renderer/security_filter_peer.h" |
6 | 6 |
7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
8 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
9 #include "grit/generated_resources.h" | 9 #include "chrome/grit/generated_resources.h" |
10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
11 #include "net/http/http_response_headers.h" | 11 #include "net/http/http_response_headers.h" |
12 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
13 | 13 |
14 SecurityFilterPeer::SecurityFilterPeer(content::RequestPeer* peer) | 14 SecurityFilterPeer::SecurityFilterPeer(content::RequestPeer* peer) |
15 : original_peer_(peer) { | 15 : original_peer_(peer) { |
16 } | 16 } |
17 | 17 |
18 SecurityFilterPeer::~SecurityFilterPeer() { | 18 SecurityFilterPeer::~SecurityFilterPeer() { |
19 } | 19 } |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 original_peer_->OnCompletedRequest(net::OK, | 219 original_peer_->OnCompletedRequest(net::OK, |
220 false, | 220 false, |
221 stale_copy_in_cache, | 221 stale_copy_in_cache, |
222 security_info, | 222 security_info, |
223 completion_time, | 223 completion_time, |
224 total_transfer_size); | 224 total_transfer_size); |
225 | 225 |
226 // The request processing is complete, we must delete ourselves. | 226 // The request processing is complete, we must delete ourselves. |
227 delete this; | 227 delete this; |
228 } | 228 } |
OLD | NEW |