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 "android_webview/browser/aw_browser_context.h" | 5 #include "android_webview/browser/aw_browser_context.h" |
6 | 6 |
7 #include "android_webview/browser/aw_form_database_service.h" | 7 #include "android_webview/browser/aw_form_database_service.h" |
8 #include "android_webview/browser/aw_pref_store.h" | 8 #include "android_webview/browser/aw_pref_store.h" |
9 #include "android_webview/browser/aw_quota_manager_bridge.h" | 9 #include "android_webview/browser/aw_quota_manager_bridge.h" |
10 #include "android_webview/browser/aw_resource_context.h" | 10 #include "android_webview/browser/aw_resource_context.h" |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 callback.Run(false); | 176 callback.Run(false); |
177 } | 177 } |
178 | 178 |
179 void AwBrowserContext::CancelMIDISysExPermissionRequest( | 179 void AwBrowserContext::CancelMIDISysExPermissionRequest( |
180 int render_process_id, | 180 int render_process_id, |
181 int render_view_id, | 181 int render_view_id, |
182 int bridge_id, | 182 int bridge_id, |
183 const GURL& requesting_frame) { | 183 const GURL& requesting_frame) { |
184 } | 184 } |
185 | 185 |
| 186 void AwBrowserContext::RequestProtectedMediaIdentifierPermission( |
| 187 int render_process_id, |
| 188 int render_view_id, |
| 189 int bridge_id, |
| 190 int group_id, |
| 191 const GURL& requesting_frame, |
| 192 const ProtectedMediaIdentifierPermissionCallback& callback) { |
| 193 NOTIMPLEMENTED(); |
| 194 callback.Run(false); |
| 195 } |
| 196 |
| 197 void AwBrowserContext::CancelProtectedMediaIdentifierPermissionRequests( |
| 198 int group_id) { |
| 199 NOTIMPLEMENTED(); |
| 200 } |
| 201 |
186 net::URLRequestContextGetter* | 202 net::URLRequestContextGetter* |
187 AwBrowserContext::GetMediaRequestContextForRenderProcess( | 203 AwBrowserContext::GetMediaRequestContextForRenderProcess( |
188 int renderer_child_id) { | 204 int renderer_child_id) { |
189 return GetRequestContext(); | 205 return GetRequestContext(); |
190 } | 206 } |
191 | 207 |
192 net::URLRequestContextGetter* | 208 net::URLRequestContextGetter* |
193 AwBrowserContext::GetMediaRequestContextForStoragePartition( | 209 AwBrowserContext::GetMediaRequestContextForStoragePartition( |
194 const base::FilePath& partition_path, | 210 const base::FilePath& partition_path, |
195 bool in_memory) { | 211 bool in_memory) { |
(...skipping 30 matching lines...) Expand all Loading... |
226 | 242 |
227 void AwBrowserContext::RebuildTable( | 243 void AwBrowserContext::RebuildTable( |
228 const scoped_refptr<URLEnumerator>& enumerator) { | 244 const scoped_refptr<URLEnumerator>& enumerator) { |
229 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 245 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
230 // can change in the lifetime of this WebView and may not yet be set here. | 246 // can change in the lifetime of this WebView and may not yet be set here. |
231 // Therefore this initialization path is not used. | 247 // Therefore this initialization path is not used. |
232 enumerator->OnComplete(true); | 248 enumerator->OnComplete(true); |
233 } | 249 } |
234 | 250 |
235 } // namespace android_webview | 251 } // namespace android_webview |
OLD | NEW |