| 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 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 264 | 264 |
| 265 content::DownloadManagerDelegate* | 265 content::DownloadManagerDelegate* |
| 266 AwBrowserContext::GetDownloadManagerDelegate() { | 266 AwBrowserContext::GetDownloadManagerDelegate() { |
| 267 return &download_manager_delegate_; | 267 return &download_manager_delegate_; |
| 268 } | 268 } |
| 269 | 269 |
| 270 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { | 270 content::BrowserPluginGuestManager* AwBrowserContext::GetGuestManager() { |
| 271 return NULL; | 271 return NULL; |
| 272 } | 272 } |
| 273 | 273 |
| 274 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { | 274 storage::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { |
| 275 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. | 275 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. |
| 276 return NULL; | 276 return NULL; |
| 277 } | 277 } |
| 278 | 278 |
| 279 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { | 279 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { |
| 280 // TODO(johnme): Support push messaging in WebView. | 280 // TODO(johnme): Support push messaging in WebView. |
| 281 return NULL; | 281 return NULL; |
| 282 } | 282 } |
| 283 | 283 |
| 284 content::SSLHostStateDelegate* AwBrowserContext::GetSSLHostStateDelegate() { | 284 content::SSLHostStateDelegate* AwBrowserContext::GetSSLHostStateDelegate() { |
| 285 return NULL; | 285 return NULL; |
| 286 } | 286 } |
| 287 | 287 |
| 288 void AwBrowserContext::RebuildTable( | 288 void AwBrowserContext::RebuildTable( |
| 289 const scoped_refptr<URLEnumerator>& enumerator) { | 289 const scoped_refptr<URLEnumerator>& enumerator) { |
| 290 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 290 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
| 291 // can change in the lifetime of this WebView and may not yet be set here. | 291 // can change in the lifetime of this WebView and may not yet be set here. |
| 292 // Therefore this initialization path is not used. | 292 // Therefore this initialization path is not used. |
| 293 enumerator->OnComplete(true); | 293 enumerator->OnComplete(true); |
| 294 } | 294 } |
| 295 | 295 |
| 296 } // namespace android_webview | 296 } // namespace android_webview |
| OLD | NEW |