OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "content/browser/mock_content_browser_client.h" | 5 #include "content/browser/mock_content_browser_client.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 | 8 |
9 #include "base/file_path.h" | 9 #include "base/file_path.h" |
10 #include "content/browser/webui/empty_web_ui_factory.h" | 10 #include "content/browser/webui/empty_web_ui_factory.h" |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 } | 199 } |
200 | 200 |
201 DevToolsManager* MockContentBrowserClient::GetDevToolsManager() { | 201 DevToolsManager* MockContentBrowserClient::GetDevToolsManager() { |
202 return NULL; | 202 return NULL; |
203 } | 203 } |
204 | 204 |
205 net::NetLog* MockContentBrowserClient::GetNetLog() { | 205 net::NetLog* MockContentBrowserClient::GetNetLog() { |
206 return NULL; | 206 return NULL; |
207 } | 207 } |
208 | 208 |
| 209 speech_input::SpeechInputManager* |
| 210 MockContentBrowserClient::GetSpeechInputManager() { |
| 211 return NULL; |
| 212 } |
| 213 |
209 bool MockContentBrowserClient::IsFastShutdownPossible() { | 214 bool MockContentBrowserClient::IsFastShutdownPossible() { |
210 return true; | 215 return true; |
211 } | 216 } |
212 | 217 |
213 WebPreferences MockContentBrowserClient::GetWebkitPrefs( | 218 WebPreferences MockContentBrowserClient::GetWebkitPrefs( |
214 content::BrowserContext* browser_context, | 219 content::BrowserContext* browser_context, |
215 bool is_web_ui) { | 220 bool is_web_ui) { |
216 return WebPreferences(); | 221 return WebPreferences(); |
217 } | 222 } |
218 | 223 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 #endif | 255 #endif |
251 | 256 |
252 #if defined(USE_NSS) | 257 #if defined(USE_NSS) |
253 crypto::CryptoModuleBlockingPasswordDelegate* | 258 crypto::CryptoModuleBlockingPasswordDelegate* |
254 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 259 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
255 return NULL; | 260 return NULL; |
256 } | 261 } |
257 #endif | 262 #endif |
258 | 263 |
259 } // namespace content | 264 } // namespace content |
OLD | NEW |