Chromium Code Reviews| 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 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 267 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { | 267 quota::SpecialStoragePolicy* AwBrowserContext::GetSpecialStoragePolicy() { |
| 268 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. | 268 // Intentionally returning NULL as 'Extensions' and 'Apps' not supported. |
| 269 return NULL; | 269 return NULL; |
| 270 } | 270 } |
| 271 | 271 |
| 272 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { | 272 content::PushMessagingService* AwBrowserContext::GetPushMessagingService() { |
| 273 // TODO(johnme): Support push messaging in WebView. | 273 // TODO(johnme): Support push messaging in WebView. |
| 274 return NULL; | 274 return NULL; |
| 275 } | 275 } |
| 276 | 276 |
| 277 content::SSLHostStateDecisions* GetSSLHostStateDecisions() { | |
| 278 // TODO(jww): For now, do not support any certificate memory for WebView, but | |
| 279 // this probably needs to change. | |
|
Ryan Sleevi
2014/07/17 23:19:35
I doubt it. WebView makes such responsibility the
jww
2014/07/21 23:39:32
Done.
| |
| 280 return NULL; | |
| 281 } | |
| 282 | |
| 277 void AwBrowserContext::RebuildTable( | 283 void AwBrowserContext::RebuildTable( |
| 278 const scoped_refptr<URLEnumerator>& enumerator) { | 284 const scoped_refptr<URLEnumerator>& enumerator) { |
| 279 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client | 285 // Android WebView rebuilds from WebChromeClient.getVisitedHistory. The client |
| 280 // can change in the lifetime of this WebView and may not yet be set here. | 286 // can change in the lifetime of this WebView and may not yet be set here. |
| 281 // Therefore this initialization path is not used. | 287 // Therefore this initialization path is not used. |
| 282 enumerator->OnComplete(true); | 288 enumerator->OnComplete(true); |
| 283 } | 289 } |
| 284 | 290 |
| 285 } // namespace android_webview | 291 } // namespace android_webview |
| OLD | NEW |