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

Side by Side Diff: net/base/ip_pattern.h

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some header sorting changes, seems to be breaking windows Created 5 years, 6 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/base/ip_endpoint.cc ('k') | net/base/ip_pattern_unittest.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_IP_PATTERN_H_ 5 #ifndef NET_BASE_IP_PATTERN_H_
6 #define NET_BASE_IP_PATTERN_H_ 6 #define NET_BASE_IP_PATTERN_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "net/base/ip_address_number.h"
13 #include "net/base/net_export.h" 14 #include "net/base/net_export.h"
14 #include "net/base/net_util.h"
15 15
16 namespace net { 16 namespace net {
17 17
18 // IPPatterns are used to match IP address resolutions for possible augmentation 18 // IPPatterns are used to match IP address resolutions for possible augmentation
19 // by a MappedIPResolver, which uses IPMappingRules. 19 // by a MappedIPResolver, which uses IPMappingRules.
20 class NET_EXPORT IPPattern { 20 class NET_EXPORT IPPattern {
21 public: 21 public:
22 IPPattern(); 22 IPPattern();
23 ~IPPattern(); 23 ~IPPattern();
24 24
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // of ip_mask_ that is false.) 61 // of ip_mask_ that is false.)
62 // We own these elements, and need to destroy them all when we are destroyed. 62 // We own these elements, and need to destroy them all when we are destroyed.
63 ComponentPatternList component_patterns_; 63 ComponentPatternList component_patterns_;
64 64
65 DISALLOW_COPY_AND_ASSIGN(IPPattern); 65 DISALLOW_COPY_AND_ASSIGN(IPPattern);
66 }; 66 };
67 67
68 } // namespace net 68 } // namespace net
69 69
70 #endif // NET_BASE_IP_PATTERN_H_ 70 #endif // NET_BASE_IP_PATTERN_H_
OLDNEW
« no previous file with comments | « net/base/ip_endpoint.cc ('k') | net/base/ip_pattern_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698