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_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ | 5 #ifndef NET_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ |
6 #define NET_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ | 6 #define NET_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 | 199 |
200 base::ThreadChecker thread_checker_; | 200 base::ThreadChecker thread_checker_; |
201 | 201 |
202 // Note: This should remain the last member so it'll be destroyed and | 202 // Note: This should remain the last member so it'll be destroyed and |
203 // invalidate its weak pointers before any other members are destroyed. | 203 // invalidate its weak pointers before any other members are destroyed. |
204 base::WeakPtrFactory<EmbeddedTestServer> weak_factory_; | 204 base::WeakPtrFactory<EmbeddedTestServer> weak_factory_; |
205 | 205 |
206 DISALLOW_COPY_AND_ASSIGN(EmbeddedTestServer); | 206 DISALLOW_COPY_AND_ASSIGN(EmbeddedTestServer); |
207 }; | 207 }; |
208 | 208 |
209 } // namespace test_servers | 209 } // namespace test_server |
210 } // namespace net | 210 } // namespace net |
211 | 211 |
212 #endif // NET_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ | 212 #endif // NET_TEST_EMBEDDED_TEST_SERVER_EMBEDDED_TEST_SERVER_H_ |
OLD | NEW |