| 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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 296 |
| 297 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { | 297 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { |
| 298 return NULL; | 298 return NULL; |
| 299 } | 299 } |
| 300 | 300 |
| 301 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { | 301 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { |
| 302 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. | 302 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. |
| 303 return NULL; | 303 return NULL; |
| 304 } | 304 } |
| 305 | 305 |
| 306 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { |
| 307 // TODO(johnme): Support push messaging in WebView. |
| 308 return NULL; |
| 309 } |
| 310 |
| 306 void AwBrowserContext::RebuildTable( | 311 void AwBrowserContext::RebuildTable( |
| 307 const scoped_refptr<URLEnumerator>& enumerator) { | 312 const scoped_refptr<URLEnumerator>& enumerator) { |
| 308 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 313 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
| 309 // can change in the lifetime of this WebView and may not yet be set here. | 314 // can change in the lifetime of this WebView and may not yet be set here. |
| 310 // Therefore this initialization path is not used. | 315 // Therefore this initialization path is not used. |
| 311 enumerator->OnComplete(true); | 316 enumerator->OnComplete(true); |
| 312 } | 317 } |
| 313 | 318 |
| 314 } // namespace android_webview | 319 } // namespace android_webview |
| OLD | NEW |