OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_RESPONSE_PROVIDERS_HTTP_AUTH_RESPONSE_PROVIDER_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_AUTH_RESPONSE_PROVIDER_H_ |
6 #define IOS_WEB_PUBLIC_TEST_RESPONSE_PROVIDERS_HTTP_AUTH_RESPONSE_PROVIDER_H_ | 6 #define IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_AUTH_RESPONSE_PROVIDER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #import "ios/web/public/test/response_providers/html_response_provider.h" | 10 #import "ios/web/public/test/http_server/html_response_provider.h" |
11 #include "url/gurl.h" | 11 #include "url/gurl.h" |
12 | 12 |
13 namespace net { | 13 namespace net { |
14 class HttpResponseHeaders; | 14 class HttpResponseHeaders; |
15 class HttpRequestHeaders; | 15 class HttpRequestHeaders; |
16 } // namespace net | 16 } // namespace net |
17 | 17 |
18 namespace web { | 18 namespace web { |
19 | 19 |
20 // Serves a page which requires Basic HTTP Authentication. | 20 // Serves a page which requires Basic HTTP Authentication. |
(...skipping 30 matching lines...) Expand all Loading... |
51 // HTTP Authentication realm. | 51 // HTTP Authentication realm. |
52 std::string realm_; | 52 std::string realm_; |
53 // Correct username to pass authentication | 53 // Correct username to pass authentication |
54 std::string username_; | 54 std::string username_; |
55 // Correct password to pass authentication | 55 // Correct password to pass authentication |
56 std::string password_; | 56 std::string password_; |
57 }; | 57 }; |
58 | 58 |
59 } // namespace web | 59 } // namespace web |
60 | 60 |
61 #endif // IOS_WEB_PUBLIC_TEST_RESPONSE_PROVIDERS_HTTP_AUTH_RESPONSE_PROVIDER_H_ | 61 #endif // IOS_WEB_PUBLIC_TEST_HTTP_SERVER_HTTP_AUTH_RESPONSE_PROVIDER_H_ |
OLD | NEW |