OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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/shell/browser/shell_browser_context.h" | 5 #include "content/shell/browser/shell_browser_context.h" |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/environment.h" | 9 #include "base/environment.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 callback.Run(true); | 191 callback.Run(true); |
192 } | 192 } |
193 | 193 |
194 void ShellBrowserContext::CancelMIDISysExPermissionRequest( | 194 void ShellBrowserContext::CancelMIDISysExPermissionRequest( |
195 int render_process_id, | 195 int render_process_id, |
196 int render_view_id, | 196 int render_view_id, |
197 int bridge_id, | 197 int bridge_id, |
198 const GURL& requesting_frame) { | 198 const GURL& requesting_frame) { |
199 } | 199 } |
200 | 200 |
| 201 void ShellBrowserContext::RequestProtectedMediaIdentifierPermission( |
| 202 int render_process_id, |
| 203 int render_view_id, |
| 204 int bridge_id, |
| 205 int group_id, |
| 206 const GURL& requesting_frame, |
| 207 const ProtectedMediaIdentifierPermissionCallback& callback) { |
| 208 callback.Run(true); |
| 209 } |
| 210 |
| 211 void ShellBrowserContext::CancelProtectedMediaIdentifierPermissionRequests( |
| 212 int group_id) { |
| 213 } |
| 214 |
201 net::URLRequestContextGetter* | 215 net::URLRequestContextGetter* |
202 ShellBrowserContext::CreateRequestContextForStoragePartition( | 216 ShellBrowserContext::CreateRequestContextForStoragePartition( |
203 const base::FilePath& partition_path, | 217 const base::FilePath& partition_path, |
204 bool in_memory, | 218 bool in_memory, |
205 ProtocolHandlerMap* protocol_handlers) { | 219 ProtocolHandlerMap* protocol_handlers) { |
206 return NULL; | 220 return NULL; |
207 } | 221 } |
208 | 222 |
209 ResourceContext* ShellBrowserContext::GetResourceContext() { | 223 ResourceContext* ShellBrowserContext::GetResourceContext() { |
210 return resource_context_.get(); | 224 return resource_context_.get(); |
211 } | 225 } |
212 | 226 |
213 GeolocationPermissionContext* | 227 GeolocationPermissionContext* |
214 ShellBrowserContext::GetGeolocationPermissionContext() { | 228 ShellBrowserContext::GetGeolocationPermissionContext() { |
215 return NULL; | 229 return NULL; |
216 } | 230 } |
217 | 231 |
218 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { | 232 quota::SpecialStoragePolicy* ShellBrowserContext::GetSpecialStoragePolicy() { |
219 return NULL; | 233 return NULL; |
220 } | 234 } |
221 | 235 |
222 } // namespace content | 236 } // namespace content |
OLD | NEW |