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 // Always reject requests for testing. | |
194 callback.Run(false); | |
Kibeom Kim (inactive)
2014/01/02 22:42:28
NOTIMPLEMENTED();
Kibeom Kim (inactive)
2014/01/02 23:26:36
Done.
| |
195 } | |
196 | |
197 void AwBrowserContext::CancelProtectedMediaIdentifierPermissionRequests( | |
198 int group_id) { | |
Cris Neckar
2014/01/02 19:51:00
Please request another IPC message review from me
Kibeom Kim (inactive)
2014/01/02 22:42:28
NOTIMPLEMENTED();
Kibeom Kim (inactive)
2014/01/02 23:26:36
Done.
| |
199 } | |
200 | |
186 net::URLRequestContextGetter* | 201 net::URLRequestContextGetter* |
187 AwBrowserContext::GetMediaRequestContextForRenderProcess( | 202 AwBrowserContext::GetMediaRequestContextForRenderProcess( |
188 int renderer_child_id) { | 203 int renderer_child_id) { |
189 return GetRequestContext(); | 204 return GetRequestContext(); |
190 } | 205 } |
191 | 206 |
192 net::URLRequestContextGetter* | 207 net::URLRequestContextGetter* |
193 AwBrowserContext::GetMediaRequestContextForStoragePartition( | 208 AwBrowserContext::GetMediaRequestContextForStoragePartition( |
194 const base::FilePath& partition_path, | 209 const base::FilePath& partition_path, |
195 bool in_memory) { | 210 bool in_memory) { |
(...skipping 30 matching lines...) Expand all Loading... | |
226 | 241 |
227 void AwBrowserContext::RebuildTable( | 242 void AwBrowserContext::RebuildTable( |
228 const scoped_refptr<URLEnumerator>& enumerator) { | 243 const scoped_refptr<URLEnumerator>& enumerator) { |
229 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 244 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
230 // can change in the lifetime of this WebView and may not yet be set here. | 245 // can change in the lifetime of this WebView and may not yet be set here. |
231 // Therefore this initialization path is not used. | 246 // Therefore this initialization path is not used. |
232 enumerator->OnComplete(true); | 247 enumerator->OnComplete(true); |
233 } | 248 } |
234 | 249 |
235 } // namespace android_webview | 250 } // namespace android_webview |
OLD | NEW |