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

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

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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
« no previous file with comments | « chrome/browser/modal_html_dialog_delegate.h ('k') | chrome/browser/plugin_process_host.h » ('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 #ifndef CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_ 5 #ifndef CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_
6 #define CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_ 6 #define CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_
7 7
8 #include <deque> 8 #include <deque>
9 #include <string> 9 #include <string>
10 10
11 #include "chrome/common/ipc_message.h" 11 #include "googleurl/src/gurl.h"
12 #include "ipc/ipc_message.h"
12 #include "net/base/completion_callback.h" 13 #include "net/base/completion_callback.h"
13 #include "googleurl/src/gurl.h"
14 #include "net/proxy/proxy_service.h" 14 #include "net/proxy/proxy_service.h"
15 15
16 // This class holds the common logic used to respond to the messages: 16 // This class holds the common logic used to respond to the messages:
17 // {PluginProcessHostMsg_ResolveProxy, ViewHostMsg_ResolveProxy}. 17 // {PluginProcessHostMsg_ResolveProxy, ViewHostMsg_ResolveProxy}.
18 // 18 //
19 // This involves kicking off a ProxyResolve request on the IO thread using 19 // This involves kicking off a ProxyResolve request on the IO thread using
20 // the specified proxy service. 20 // the specified proxy service.
21 // 21 //
22 // When the request completes, it calls the delegate's OnProxyResolveCompleted() 22 // When the request completes, it calls the delegate's OnProxyResolveCompleted()
23 // method, passing it the result (error code + proxy list), as well as the 23 // method, passing it the result (error code + proxy list), as well as the
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 PendingRequestList pending_requests_; 94 PendingRequestList pending_requests_;
95 95
96 Delegate* delegate_; 96 Delegate* delegate_;
97 97
98 // Specified by unit-tests, to use this proxy service in place of the 98 // Specified by unit-tests, to use this proxy service in place of the
99 // global one. 99 // global one.
100 net::ProxyService* proxy_service_override_; 100 net::ProxyService* proxy_service_override_;
101 }; 101 };
102 102
103 #endif // CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_ 103 #endif // CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_
OLDNEW
« no previous file with comments | « chrome/browser/modal_html_dialog_delegate.h ('k') | chrome/browser/plugin_process_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698