| Index: android_webview/browser/aw_browser_context.cc
|
| diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc
|
| index 983cd3efa2a691fa136049d80f11e12e37aa4a32..1ecf9ec44236580762270963c1550ec9b071c835 100644
|
| --- a/android_webview/browser/aw_browser_context.cc
|
| +++ b/android_webview/browser/aw_browser_context.cc
|
| @@ -4,6 +4,7 @@
|
|
|
| #include "android_webview/browser/aw_browser_context.h"
|
|
|
| +#include "android_webview/browser/aw_form_database_service.h"
|
| #include "android_webview/browser/aw_quota_manager_bridge.h"
|
| #include "android_webview/browser/jni_dependency_factory.h"
|
| #include "android_webview/browser/net/aw_url_request_context_getter.h"
|
| @@ -99,6 +100,16 @@ AwQuotaManagerBridge* AwBrowserContext::GetQuotaManagerBridge() {
|
| return quota_manager_bridge_.get();
|
| }
|
|
|
| +// TODO(sgurun) we may need to do this at the constructor, depending on
|
| +// how the rest of the implementation to enable autocomplete unwraps itself.
|
| +AwFormDatabaseService* AwBrowserContext::GetFormDatabaseService() {
|
| + if (!form_database_service_) {
|
| + form_database_service_.reset(
|
| + new AwFormDatabaseService(context_storage_path_));
|
| + }
|
| + return form_database_service_.get();
|
| +}
|
| +
|
| base::FilePath AwBrowserContext::GetPath() {
|
| return context_storage_path_;
|
| }
|
|
|