| 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/test/test_browser_context.h" | 5 #include "content/test/test_browser_context.h" |
| 6 | 6 |
| 7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
| 8 #include "content/browser/in_process_webkit/webkit_context.h" | 8 #include "content/browser/in_process_webkit/webkit_context.h" |
| 9 #include "content/browser/mock_resource_context.h" | 9 #include "content/browser/mock_resource_context.h" |
| 10 | 10 |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 HostZoomMap* TestBrowserContext::GetHostZoomMap() { | 55 HostZoomMap* TestBrowserContext::GetHostZoomMap() { |
| 56 return NULL; | 56 return NULL; |
| 57 } | 57 } |
| 58 | 58 |
| 59 GeolocationPermissionContext* | 59 GeolocationPermissionContext* |
| 60 TestBrowserContext::GetGeolocationPermissionContext() { | 60 TestBrowserContext::GetGeolocationPermissionContext() { |
| 61 return NULL; | 61 return NULL; |
| 62 } | 62 } |
| 63 | 63 |
| 64 SpeechInputPreferences* TestBrowserContext::GetSpeechInputPreferences() { |
| 65 return NULL; |
| 66 } |
| 67 |
| 64 bool TestBrowserContext::DidLastSessionExitCleanly() { | 68 bool TestBrowserContext::DidLastSessionExitCleanly() { |
| 65 return true; | 69 return true; |
| 66 } | 70 } |
| 67 | 71 |
| 68 quota::QuotaManager* TestBrowserContext::GetQuotaManager() { | 72 quota::QuotaManager* TestBrowserContext::GetQuotaManager() { |
| 69 return NULL; | 73 return NULL; |
| 70 } | 74 } |
| 71 | 75 |
| 72 WebKitContext* TestBrowserContext::GetWebKitContext() { | 76 WebKitContext* TestBrowserContext::GetWebKitContext() { |
| 73 if (webkit_context_ == NULL) { | 77 if (webkit_context_ == NULL) { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 86 return NULL; | 90 return NULL; |
| 87 } | 91 } |
| 88 | 92 |
| 89 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() { | 93 ChromeAppCacheService* TestBrowserContext::GetAppCacheService() { |
| 90 return NULL; | 94 return NULL; |
| 91 } | 95 } |
| 92 | 96 |
| 93 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() { | 97 fileapi::FileSystemContext* TestBrowserContext::GetFileSystemContext() { |
| 94 return NULL; | 98 return NULL; |
| 95 } | 99 } |
| OLD | NEW |