OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/public/test/test_browser_context.h" | 5 #include "content/public/test/test_browser_context.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "base/test/null_task_runner.h" | 8 #include "base/test/null_task_runner.h" |
9 #include "content/public/test/mock_resource_context.h" | 9 #include "content/public/test/mock_resource_context.h" |
10 #include "net/url_request/url_request_context.h" | 10 #include "net/url_request/url_request_context.h" |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 resource_context_.reset(new MockResourceContext( | 136 resource_context_.reset(new MockResourceContext( |
137 GetRequestContext()->GetURLRequestContext())); | 137 GetRequestContext()->GetURLRequestContext())); |
138 return resource_context_.get(); | 138 return resource_context_.get(); |
139 } | 139 } |
140 | 140 |
141 GeolocationPermissionContext* | 141 GeolocationPermissionContext* |
142 TestBrowserContext::GetGeolocationPermissionContext() { | 142 TestBrowserContext::GetGeolocationPermissionContext() { |
143 return NULL; | 143 return NULL; |
144 } | 144 } |
145 | 145 |
146 BrowserPluginGuestManagerDelegate* | 146 BrowserPluginGuestManager* TestBrowserContext::GetGuestManager() { |
147 TestBrowserContext::GetGuestManagerDelegate() { | |
148 return NULL; | 147 return NULL; |
149 } | 148 } |
150 | 149 |
151 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { | 150 quota::SpecialStoragePolicy* TestBrowserContext::GetSpecialStoragePolicy() { |
152 return special_storage_policy_.get(); | 151 return special_storage_policy_.get(); |
153 } | 152 } |
154 | 153 |
155 } // namespace content | 154 } // namespace content |
OLD | NEW |