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_browser_permission_request_delegate.h" | 7 #include "android_webview/browser/aw_browser_permission_request_delegate.h" |
8 #include "android_webview/browser/aw_form_database_service.h" | 8 #include "android_webview/browser/aw_form_database_service.h" |
9 #include "android_webview/browser/aw_pref_store.h" | 9 #include "android_webview/browser/aw_pref_store.h" |
10 #include "android_webview/browser/aw_quota_manager_bridge.h" | 10 #include "android_webview/browser/aw_quota_manager_bridge.h" |
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 | 311 |
312 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { | 312 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { |
313 return NULL; | 313 return NULL; |
314 } | 314 } |
315 | 315 |
316 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { | 316 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { |
317 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. | 317 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. |
318 return NULL; | 318 return NULL; |
319 } | 319 } |
320 | 320 |
| 321 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { |
| 322 // TODO(johnme): Support push messaging in WebView. |
| 323 return NULL; |
| 324 } |
| 325 |
321 void AwBrowserContext::RebuildTable( | 326 void AwBrowserContext::RebuildTable( |
322 const scoped_refptr<URLEnumerator>& enumerator) { | 327 const scoped_refptr<URLEnumerator>& enumerator) { |
323 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 328 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
324 // can change in the lifetime of this WebView and may not yet be set here. | 329 // can change in the lifetime of this WebView and may not yet be set here. |
325 // Therefore this initialization path is not used. | 330 // Therefore this initialization path is not used. |
326 enumerator->OnComplete(true); | 331 enumerator->OnComplete(true); |
327 } | 332 } |
328 | 333 |
329 } // namespace android_webview | 334 } // namespace android_webview |
OLD | NEW |