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_NET_TEST_SUITE_H_ | 5 #ifndef NET_TEST_NET_TEST_SUITE_H_ |
6 #define NET_BASE_NET_TEST_SUITE_H_ | 6 #define NET_TEST_NET_TEST_SUITE_H_ |
7 | 7 |
8 #include "base/memory/ref_counted.h" | 8 #include "base/memory/ref_counted.h" |
9 #include "base/test/test_suite.h" | 9 #include "base/test/test_suite.h" |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "net/base/mock_host_resolver.h" | 11 #include "net/base/mock_host_resolver.h" |
12 | 12 |
13 class MessageLoop; | 13 class MessageLoop; |
14 | 14 |
15 namespace net { | 15 namespace net { |
16 class NetworkChangeNotifier; | 16 class NetworkChangeNotifier; |
(...skipping 26 matching lines...) Expand all Loading... |
43 // the production NetworkChangeNotifier. | 43 // the production NetworkChangeNotifier. |
44 void InitializeTestThreadNoNetworkChangeNotifier(); | 44 void InitializeTestThreadNoNetworkChangeNotifier(); |
45 | 45 |
46 private: | 46 private: |
47 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; | 47 scoped_ptr<net::NetworkChangeNotifier> network_change_notifier_; |
48 scoped_ptr<MessageLoop> message_loop_; | 48 scoped_ptr<MessageLoop> message_loop_; |
49 scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_proc_; | 49 scoped_refptr<net::RuleBasedHostResolverProc> host_resolver_proc_; |
50 net::ScopedDefaultHostResolverProc scoped_host_resolver_proc_; | 50 net::ScopedDefaultHostResolverProc scoped_host_resolver_proc_; |
51 }; | 51 }; |
52 | 52 |
53 #endif // NET_BASE_NET_TEST_SUITE_H_ | 53 #endif // NET_TEST_NET_TEST_SUITE_H_ |
OLD | NEW |