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 AccessTokenStore* MockContentBrowserClient::CreateAccessTokenStore() { |
| 210 return NULL; |
| 211 } |
| 212 |
209 bool MockContentBrowserClient::IsFastShutdownPossible() { | 213 bool MockContentBrowserClient::IsFastShutdownPossible() { |
210 return true; | 214 return true; |
211 } | 215 } |
212 | 216 |
213 WebPreferences MockContentBrowserClient::GetWebkitPrefs( | 217 WebPreferences MockContentBrowserClient::GetWebkitPrefs( |
214 content::BrowserContext* browser_context, | 218 content::BrowserContext* browser_context, |
215 bool is_web_ui) { | 219 bool is_web_ui) { |
216 return WebPreferences(); | 220 return WebPreferences(); |
217 } | 221 } |
218 | 222 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
250 #endif | 254 #endif |
251 | 255 |
252 #if defined(USE_NSS) | 256 #if defined(USE_NSS) |
253 crypto::CryptoModuleBlockingPasswordDelegate* | 257 crypto::CryptoModuleBlockingPasswordDelegate* |
254 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { | 258 MockContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { |
255 return NULL; | 259 return NULL; |
256 } | 260 } |
257 #endif | 261 #endif |
258 | 262 |
259 } // namespace content | 263 } // namespace content |
OLD | NEW |