Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1846)

Unified Diff: android_webview/browser/aw_browser_context.h

Issue 15097004: Enable Autocomplete feature for chromium webview (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@setSaveFormData2
Patch Set: added a unit test Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: android_webview/browser/aw_browser_context.h
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h
index b2f91783e8e4b7b5cacb8ff879542d4a3d91ec4e..4b53e1eafb5b1029644c9d60ed7747497d420799 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -70,8 +70,7 @@ class AwBrowserContext : public content::BrowserContext,
AwQuotaManagerBridge* GetQuotaManagerBridge();
AwFormDatabaseService* GetFormDatabaseService();
- AwAutofillManagerDelegate* AutofillManagerDelegate();
- AwAutofillManagerDelegate* CreateAutofillManagerDelegate(bool enabled);
+ void CreateUserPrefServiceIfNecessary();
// content::BrowserContext implementation.
virtual base::FilePath GetPath() OVERRIDE;
@@ -115,6 +114,8 @@ class AwBrowserContext : public content::BrowserContext,
scoped_ptr<visitedlink::VisitedLinkMaster> visitedlink_master_;
scoped_ptr<content::ResourceContext> resource_context_;
+ bool user_pref_service_ready_;
+
DISALLOW_COPY_AND_ASSIGN(AwBrowserContext);
};

Powered by Google App Engine
This is Rietveld 408576698