Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(247)

Side by Side Diff: chrome/renderer/security_filter_peer.cc

Issue 6997006: iwyu: Include stringprintf.h where appropriate, part 1. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/stringprintf.h"
7 #include "grit/generated_resources.h" 8 #include "grit/generated_resources.h"
8 #include "net/base/net_errors.h" 9 #include "net/base/net_errors.h"
9 #include "net/http/http_response_headers.h" 10 #include "net/http/http_response_headers.h"
10 #include "ui/base/l10n/l10n_util.h" 11 #include "ui/base/l10n/l10n_util.h"
11 12
12 SecurityFilterPeer::SecurityFilterPeer( 13 SecurityFilterPeer::SecurityFilterPeer(
13 webkit_glue::ResourceLoaderBridge* resource_loader_bridge, 14 webkit_glue::ResourceLoaderBridge* resource_loader_bridge,
14 webkit_glue::ResourceLoaderBridge::Peer* peer) 15 webkit_glue::ResourceLoaderBridge::Peer* peer)
15 : original_peer_(peer), 16 : original_peer_(peer),
16 resource_loader_bridge_(resource_loader_bridge) { 17 resource_loader_bridge_(resource_loader_bridge) {
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 original_peer_->OnReceivedData(data_.data(), 210 original_peer_->OnReceivedData(data_.data(),
210 static_cast<int>(data_.size()), 211 static_cast<int>(data_.size()),
211 -1); 212 -1);
212 original_peer_->OnCompletedRequest(net::URLRequestStatus(), 213 original_peer_->OnCompletedRequest(net::URLRequestStatus(),
213 security_info, 214 security_info,
214 completion_time); 215 completion_time);
215 216
216 // The request processing is complete, we must delete ourselves. 217 // The request processing is complete, we must delete ourselves.
217 delete this; 218 delete this;
218 } 219 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698