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 #ifndef CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_H_ | 5 #ifndef CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ |
6 #define CHROME_BROWSER_NET_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> |
11 | 11 |
12 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
13 #include "content/browser/browser_message_filter.h" | 13 #include "content/browser/browser_message_filter.h" |
14 #include "googleurl/src/gurl.h" | 14 #include "googleurl/src/gurl.h" |
15 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
16 #include "net/proxy/proxy_service.h" | 16 #include "net/proxy/proxy_service.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 75 |
76 // 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. |
77 typedef std::deque<PendingRequest> PendingRequestList; | 77 typedef std::deque<PendingRequest> PendingRequestList; |
78 PendingRequestList pending_requests_; | 78 PendingRequestList pending_requests_; |
79 | 79 |
80 // Specified by unit-tests, to use this proxy service in place of the | 80 // Specified by unit-tests, to use this proxy service in place of the |
81 // global one. | 81 // global one. |
82 net::ProxyService* proxy_service_override_; | 82 net::ProxyService* proxy_service_override_; |
83 }; | 83 }; |
84 | 84 |
85 #endif // CHROME_BROWSER_NET_RESOLVE_PROXY_MSG_HELPER_H_ | 85 #endif // CONTENT_BROWSER_RESOLVE_PROXY_MSG_HELPER_H_ |
OLD | NEW |