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

Side by Side Diff: chrome/browser/net/resolve_proxy_msg_helper.cc

Issue 5606002: Move:... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/browser/net/predictor_api.cc ('k') | chrome/browser/net/sdch_dictionary_fetcher.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "chrome/browser/net/resolve_proxy_msg_helper.h"
6 6
7 #include "base/compiler_specific.h" 7 #include "base/compiler_specific.h"
8 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profiles/profile.h"
9 #include "chrome/common/net/url_request_context_getter.h" 9 #include "chrome/common/net/url_request_context_getter.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 12
13 ResolveProxyMsgHelper::ResolveProxyMsgHelper(Delegate* delegate, 13 ResolveProxyMsgHelper::ResolveProxyMsgHelper(Delegate* delegate,
14 net::ProxyService* proxy_service) 14 net::ProxyService* proxy_service)
15 : proxy_service_(NULL), 15 : proxy_service_(NULL),
16 ALLOW_THIS_IN_INITIALIZER_LIST(callback_( 16 ALLOW_THIS_IN_INITIALIZER_LIST(callback_(
17 this, &ResolveProxyMsgHelper::OnResolveProxyCompleted)), 17 this, &ResolveProxyMsgHelper::OnResolveProxyCompleted)),
18 delegate_(delegate), 18 delegate_(delegate),
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 100
101 for (PendingRequestList::iterator it = pending_requests_.begin(); 101 for (PendingRequestList::iterator it = pending_requests_.begin();
102 it != pending_requests_.end(); 102 it != pending_requests_.end();
103 ++it) { 103 ++it) {
104 delete it->reply_msg; 104 delete it->reply_msg;
105 } 105 }
106 106
107 proxy_service_ = NULL; 107 proxy_service_ = NULL;
108 pending_requests_.clear(); 108 pending_requests_.clear();
109 } 109 }
OLDNEW
« no previous file with comments | « chrome/browser/net/predictor_api.cc ('k') | chrome/browser/net/sdch_dictionary_fetcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698