OLD | NEW |
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_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 5 #ifndef NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 6 #define NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include <memory> | 10 #include <memory> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/timer/timer.h" | 18 #include "base/timer/timer.h" |
19 #include "base/values.h" | 19 #include "base/values.h" |
20 #include "net/base/host_port_pair.h" | 20 #include "net/base/host_port_pair.h" |
| 21 #include "net/base/net_export.h" |
21 #include "net/http/http_server_properties.h" | 22 #include "net/http/http_server_properties.h" |
22 #include "net/http/http_server_properties_impl.h" | 23 #include "net/http/http_server_properties_impl.h" |
23 | 24 |
24 class PrefService; | 25 class PrefService; |
25 | 26 |
26 namespace base { | 27 namespace base { |
27 class SequencedTaskRunner; | 28 class SequencedTaskRunner; |
28 } | 29 } |
29 | 30 |
30 namespace net { | 31 namespace net { |
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 // Used to get |weak_ptr_| to self on the network thread. | 324 // Used to get |weak_ptr_| to self on the network thread. |
324 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> | 325 std::unique_ptr<base::WeakPtrFactory<HttpServerPropertiesManager>> |
325 network_weak_ptr_factory_; | 326 network_weak_ptr_factory_; |
326 | 327 |
327 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 328 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
328 }; | 329 }; |
329 | 330 |
330 } // namespace net | 331 } // namespace net |
331 | 332 |
332 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 333 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
OLD | NEW |