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 #include <stdint.h> |
| 6 |
5 #include "ios/web/public/test/test_web_state.h" | 7 #include "ios/web/public/test/test_web_state.h" |
6 | 8 |
7 namespace web { | 9 namespace web { |
8 | 10 |
9 TestWebState::TestWebState() : trust_level_(kAbsolute), content_is_html_(true) { | 11 TestWebState::TestWebState() : trust_level_(kAbsolute), content_is_html_(true) { |
10 } | 12 } |
11 | 13 |
12 TestWebState::~TestWebState() = default; | 14 TestWebState::~TestWebState() = default; |
13 | 15 |
14 UIView* TestWebState::GetView() { | 16 UIView* TestWebState::GetView() { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 const ImageDownloadCallback& callback) { | 101 const ImageDownloadCallback& callback) { |
100 return 0; | 102 return 0; |
101 } | 103 } |
102 | 104 |
103 base::WeakPtr<WebState> TestWebState::AsWeakPtr() { | 105 base::WeakPtr<WebState> TestWebState::AsWeakPtr() { |
104 NOTREACHED(); | 106 NOTREACHED(); |
105 return base::WeakPtr<WebState>(); | 107 return base::WeakPtr<WebState>(); |
106 } | 108 } |
107 | 109 |
108 } // namespace web | 110 } // namespace web |
OLD | NEW |