OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_NET_PORT_UTIL_ | 5 #ifndef NET_BASE_PORT_UTIL_H_ |
6 #define NET_BASE_NET_PORT_UTIL_ | 6 #define NET_BASE_PORT_UTIL_H_ |
7 | 7 |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 | 11 |
12 #include "base/macros.h" | 12 #include "base/macros.h" |
13 #include "net/base/net_export.h" | 13 #include "net/base/net_export.h" |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 | 16 |
(...skipping 21 matching lines...) Expand all Loading... |
38 ~ScopedPortException(); | 38 ~ScopedPortException(); |
39 | 39 |
40 private: | 40 private: |
41 int port_; | 41 int port_; |
42 | 42 |
43 DISALLOW_COPY_AND_ASSIGN(ScopedPortException); | 43 DISALLOW_COPY_AND_ASSIGN(ScopedPortException); |
44 }; | 44 }; |
45 | 45 |
46 } // namespace net | 46 } // namespace net |
47 | 47 |
48 #endif // NET_BASE_NET_PORT_UTIL_ | 48 #endif // NET_BASE_PORT_UTIL_H_ |
OLD | NEW |