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 IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ |
6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ | 6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #import "base/mac/scoped_nsobject.h" | |
12 #include "base/macros.h" | 11 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 12 #include "base/memory/ref_counted.h" |
14 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
15 #import "ios/web/public/test/http_server/response_provider.h" | 14 #import "ios/web/public/test/http_server/response_provider.h" |
16 | 15 |
17 namespace net { | 16 namespace net { |
18 namespace test_server { | 17 namespace test_server { |
19 class EmbeddedTestServer; | 18 class EmbeddedTestServer; |
20 struct HttpRequest; | 19 struct HttpRequest; |
21 } | 20 } |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // ResponseProvider response back to EmbeddedTestServer response. | 135 // ResponseProvider response back to EmbeddedTestServer response. |
137 std::unique_ptr<net::test_server::HttpResponse> GetResponse( | 136 std::unique_ptr<net::test_server::HttpResponse> GetResponse( |
138 const net::test_server::HttpRequest& request); | 137 const net::test_server::HttpRequest& request); |
139 DISALLOW_COPY_AND_ASSIGN(HttpServer); | 138 DISALLOW_COPY_AND_ASSIGN(HttpServer); |
140 }; | 139 }; |
141 | 140 |
142 } // namespace test | 141 } // namespace test |
143 } // namspace web | 142 } // namspace web |
144 | 143 |
145 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ | 144 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_SERVER_H_ |
OLD | NEW |