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 "ios/web/public/test/test_web_state.h" | 5 #include "ios/web/public/test/test_web_state.h" |
6 | 6 |
7 #include <stdint.h> | 7 #include <stdint.h> |
8 | 8 |
9 #include "base/callback.h" | 9 #include "base/callback.h" |
10 | 10 |
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 } | 135 } |
136 | 136 |
137 int TestWebState::DownloadImage(const GURL& url, | 137 int TestWebState::DownloadImage(const GURL& url, |
138 bool is_favicon, | 138 bool is_favicon, |
139 uint32_t max_bitmap_size, | 139 uint32_t max_bitmap_size, |
140 bool bypass_cache, | 140 bool bypass_cache, |
141 const ImageDownloadCallback& callback) { | 141 const ImageDownloadCallback& callback) { |
142 return 0; | 142 return 0; |
143 } | 143 } |
144 | 144 |
145 shell::InterfaceRegistry* TestWebState::GetMojoInterfaceRegistry() { | 145 service_manager::InterfaceRegistry* TestWebState::GetMojoInterfaceRegistry() { |
146 return nullptr; | 146 return nullptr; |
147 } | 147 } |
148 | 148 |
149 base::WeakPtr<WebState> TestWebState::AsWeakPtr() { | 149 base::WeakPtr<WebState> TestWebState::AsWeakPtr() { |
150 NOTREACHED(); | 150 NOTREACHED(); |
151 return base::WeakPtr<WebState>(); | 151 return base::WeakPtr<WebState>(); |
152 } | 152 } |
153 | 153 |
154 } // namespace web | 154 } // namespace web |
OLD | NEW |