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

Side by Side Diff: content/browser/resolve_proxy_msg_helper.h

Issue 8985012: base::Bind: Convert net/proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: One more include. Created 9 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 | « no previous file | content/browser/resolve_proxy_msg_helper.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) 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 #ifndef CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 5 #ifndef CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
6 #define CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 6 #define CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <deque> 9 #include <deque>
10 #include <string> 10 #include <string>
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // The URL of the request. 63 // The URL of the request.
64 GURL url; 64 GURL url;
65 65
66 // Data to pass back to the delegate on completion (we own it until then). 66 // Data to pass back to the delegate on completion (we own it until then).
67 IPC::Message* reply_msg; 67 IPC::Message* reply_msg;
68 68
69 // Handle for cancelling the current request if it has started (else NULL). 69 // Handle for cancelling the current request if it has started (else NULL).
70 net::ProxyService::PacRequest* pac_req; 70 net::ProxyService::PacRequest* pac_req;
71 }; 71 };
72 72
73 // Members for the current outstanding proxy request. 73 // Info about the current outstanding proxy request.
74 net::OldCompletionCallbackImpl<ResolveProxyMsgHelper> callback_;
75 net::ProxyInfo proxy_info_; 74 net::ProxyInfo proxy_info_;
76 75
77 // FIFO queue of pending requests. The first entry is always the current one. 76 // FIFO queue of pending requests. The first entry is always the current one.
78 typedef std::deque<PendingRequest> PendingRequestList; 77 typedef std::deque<PendingRequest> PendingRequestList;
79 PendingRequestList pending_requests_; 78 PendingRequestList pending_requests_;
80 79
81 scoped_refptr<net::URLRequestContextGetter> context_getter_; 80 scoped_refptr<net::URLRequestContextGetter> context_getter_;
82 net::ProxyService* proxy_service_; 81 net::ProxyService* proxy_service_;
83 }; 82 };
84 83
85 #endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ 84 #endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/resolve_proxy_msg_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698