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 NET_BASE_HOST_MAPPING_RULES_H_ | 5 #ifndef NET_BASE_HOST_MAPPING_RULES_H_ |
6 #define NET_BASE_HOST_MAPPING_RULES_H_ | 6 #define NET_BASE_HOST_MAPPING_RULES_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 #include "base/basictypes.h" | 10 |
| 11 #include "base/macros.h" |
11 #include "net/base/net_export.h" | 12 #include "net/base/net_export.h" |
12 | 13 |
13 namespace net { | 14 namespace net { |
14 | 15 |
15 class HostPortPair; | 16 class HostPortPair; |
16 | 17 |
17 class NET_EXPORT_PRIVATE HostMappingRules { | 18 class NET_EXPORT_PRIVATE HostMappingRules { |
18 public: | 19 public: |
19 HostMappingRules(); | 20 HostMappingRules(); |
20 ~HostMappingRules(); | 21 ~HostMappingRules(); |
(...skipping 24 matching lines...) Expand all Loading... |
45 | 46 |
46 MapRuleList map_rules_; | 47 MapRuleList map_rules_; |
47 ExclusionRuleList exclusion_rules_; | 48 ExclusionRuleList exclusion_rules_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(HostMappingRules); | 50 DISALLOW_COPY_AND_ASSIGN(HostMappingRules); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace net | 53 } // namespace net |
53 | 54 |
54 #endif // NET_BASE_HOST_MAPPING_RULES_H_ | 55 #endif // NET_BASE_HOST_MAPPING_RULES_H_ |
OLD | NEW |