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_TEST_WEB_STATE_H_ | 5 #ifndef IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ |
6 #define IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ | 6 #define IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ |
7 | 7 |
| 8 #include <stdint.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 | 11 |
10 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
11 #include "ios/web/public/web_state/url_verification_constants.h" | 13 #include "ios/web/public/web_state/url_verification_constants.h" |
12 #include "ios/web/public/web_state/web_state.h" | 14 #include "ios/web/public/web_state/web_state.h" |
13 #include "url/gurl.h" | 15 #include "url/gurl.h" |
14 | 16 |
15 namespace web { | 17 namespace web { |
16 | 18 |
17 // Minimal implementation of WebState, to be used in tests. | 19 // Minimal implementation of WebState, to be used in tests. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 base::string16 title_; | 67 base::string16 title_; |
66 URLVerificationTrustLevel trust_level_; | 68 URLVerificationTrustLevel trust_level_; |
67 bool content_is_html_; | 69 bool content_is_html_; |
68 std::string mime_type_; | 70 std::string mime_type_; |
69 std::string content_language_; | 71 std::string content_language_; |
70 }; | 72 }; |
71 | 73 |
72 } // namespace web | 74 } // namespace web |
73 | 75 |
74 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ | 76 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_STATE_H_ |
OLD | NEW |