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 <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/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
| 13 #include "base/gtest_prod_util.h" |
13 #include "base/memory/scoped_ptr.h" | 14 #include "base/memory/scoped_ptr.h" |
14 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
15 #include "base/prefs/pref_change_registrar.h" | 16 #include "base/prefs/pref_change_registrar.h" |
16 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
17 #include "base/values.h" | 18 #include "base/values.h" |
18 #include "net/base/host_port_pair.h" | 19 #include "net/base/host_port_pair.h" |
19 #include "net/http/http_server_properties.h" | 20 #include "net/http/http_server_properties.h" |
20 #include "net/http/http_server_properties_impl.h" | 21 #include "net/http/http_server_properties_impl.h" |
21 | 22 |
22 class PrefService; | 23 class PrefService; |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
277 // Used to get |weak_ptr_| to self on the network thread. | 278 // Used to get |weak_ptr_| to self on the network thread. |
278 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > | 279 scoped_ptr<base::WeakPtrFactory<HttpServerPropertiesManager> > |
279 network_weak_ptr_factory_; | 280 network_weak_ptr_factory_; |
280 | 281 |
281 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); | 282 DISALLOW_COPY_AND_ASSIGN(HttpServerPropertiesManager); |
282 }; | 283 }; |
283 | 284 |
284 } // namespace net | 285 } // namespace net |
285 | 286 |
286 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ | 287 #endif // NET_HTTP_HTTP_SERVER_PROPERTIES_MANAGER_H_ |
OLD | NEW |