| OLD | NEW |
| 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/browser/net/resolve_proxy_msg_helper.h" | 5 #include "content/browser/resolve_proxy_msg_helper.h" |
| 6 | 6 |
| 7 #include "base/compiler_specific.h" | 7 #include "base/compiler_specific.h" |
| 8 #include "chrome/browser/profiles/profile.h" | 8 #include "chrome/browser/profiles/profile.h" |
| 9 #include "content/common/child_process_messages.h" | 9 #include "content/common/child_process_messages.h" |
| 10 #include "net/base/net_errors.h" | 10 #include "net/base/net_errors.h" |
| 11 #include "net/url_request/url_request_context.h" | 11 #include "net/url_request/url_request_context.h" |
| 12 #include "net/url_request/url_request_context_getter.h" | 12 #include "net/url_request/url_request_context_getter.h" |
| 13 | 13 |
| 14 ResolveProxyMsgHelper::ResolveProxyMsgHelper(net::ProxyService* proxy_service) | 14 ResolveProxyMsgHelper::ResolveProxyMsgHelper(net::ProxyService* proxy_service) |
| 15 : proxy_service_(NULL), | 15 : proxy_service_(NULL), |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 | 111 |
| 112 for (PendingRequestList::iterator it = pending_requests_.begin(); | 112 for (PendingRequestList::iterator it = pending_requests_.begin(); |
| 113 it != pending_requests_.end(); | 113 it != pending_requests_.end(); |
| 114 ++it) { | 114 ++it) { |
| 115 delete it->reply_msg; | 115 delete it->reply_msg; |
| 116 } | 116 } |
| 117 | 117 |
| 118 proxy_service_ = NULL; | 118 proxy_service_ = NULL; |
| 119 pending_requests_.clear(); | 119 pending_requests_.clear(); |
| 120 } | 120 } |
| OLD | NEW |