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

Side by Side Diff: net/proxy/proxy_config_service_common_unittest.h

Issue 3136025: Remove obviously unneeded forward declarations from headers under src/{app,base,net}. (Closed)
Patch Set: it was the best of times Created 10 years, 4 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 | « net/http/http_stream_factory.h ('k') | net/proxy/proxy_info.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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ 5 #ifndef NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_
6 #define NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ 6 #define NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/proxy/proxy_config.h" 9 #include "net/proxy/proxy_config.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 // Helper functions to describe the expected value of a 12 // Helper functions to describe the expected value of a
13 // ProxyConfig::ProxyRules, and to check for a match. 13 // ProxyConfig::ProxyRules, and to check for a match.
14 14
15 namespace net { 15 namespace net {
16 16
17 class ProxyBypassRules;
18
19 // This structure contains our expectations on what values the ProxyRules 17 // This structure contains our expectations on what values the ProxyRules
20 // should have. 18 // should have.
21 struct ProxyRulesExpectation { 19 struct ProxyRulesExpectation {
22 ProxyRulesExpectation(ProxyConfig::ProxyRules::Type type, 20 ProxyRulesExpectation(ProxyConfig::ProxyRules::Type type,
23 const char* single_proxy, 21 const char* single_proxy,
24 const char* proxy_for_http, 22 const char* proxy_for_http,
25 const char* proxy_for_https, 23 const char* proxy_for_https,
26 const char* proxy_for_ftp, 24 const char* proxy_for_ftp,
27 const char* socks_proxy, 25 const char* socks_proxy,
28 const char* flattened_bypass_rules, 26 const char* flattened_bypass_rules,
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 const char* proxy_for_https; 82 const char* proxy_for_https;
85 const char* proxy_for_ftp; 83 const char* proxy_for_ftp;
86 const char* socks_proxy; 84 const char* socks_proxy;
87 const char* flattened_bypass_rules; 85 const char* flattened_bypass_rules;
88 bool reverse_bypass; 86 bool reverse_bypass;
89 }; 87 };
90 88
91 } // namespace net 89 } // namespace net
92 90
93 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_ 91 #endif // NET_PROXY_PROXY_CONFIG_SERVICE_COMMON_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/http/http_stream_factory.h ('k') | net/proxy/proxy_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698