diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 00:14:18 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 00:14:18 +0000 |
commit | ac4e28f7846406caa715467b806d3f2a6f4417d1 (patch) | |
tree | 34b91c92fda1f3c85d3d48907e67b3052d0344df /chrome/browser/autofill_manager.h | |
parent | 575a5fa92d25ffe88698564f4e633752e7c640ae (diff) | |
download | chromium_src-ac4e28f7846406caa715467b806d3f2a6f4417d1.zip chromium_src-ac4e28f7846406caa715467b806d3f2a6f4417d1.tar.gz chromium_src-ac4e28f7846406caa715467b806d3f2a6f4417d1.tar.bz2 |
Remove the old AutofillManager source files that have been replaced by FormFieldHistory.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/347014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30409 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/autofill_manager.h')
-rw-r--r-- | chrome/browser/autofill_manager.h | 64 |
1 files changed, 0 insertions, 64 deletions
diff --git a/chrome/browser/autofill_manager.h b/chrome/browser/autofill_manager.h deleted file mode 100644 index 0dc3c0f..0000000 --- a/chrome/browser/autofill_manager.h +++ /dev/null @@ -1,64 +0,0 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -#ifndef CHROME_BROWSER_AUTOFILL_MANAGER_H_ -#define CHROME_BROWSER_AUTOFILL_MANAGER_H_ - -#include <string> - -#include "chrome/browser/renderer_host/render_view_host_delegate.h" -#include "chrome/browser/webdata/web_data_service.h" -#include "chrome/common/pref_member.h" - -namespace webkit_glue { -class FormFieldValues; -} - -class Profile; -class TabContents; - -// Per-tab autofill manager. Handles receiving form data from the renderer and -// the storing and retrieving of form data through WebDataService. -class AutofillManager : public RenderViewHostDelegate::FormFieldHistory, - public WebDataServiceConsumer { - public: - explicit AutofillManager(TabContents* tab_contents); - virtual ~AutofillManager(); - - Profile* profile(); - - // RenderViewHostDelegate::FormFieldHistory implementation. - virtual void FormFieldValuesSubmitted( - const webkit_glue::FormFieldValues& form); - virtual bool GetFormFieldHistorySuggestions(int query_id, - const string16& name, - const string16& prefix); - virtual void RemoveFormFieldHistoryEntry(const string16& name, - const string16& value); - - // WebDataServiceConsumer implementation. - virtual void OnWebDataServiceRequestDone(WebDataService::Handle h, - const WDTypedResult* result); - - static void RegisterUserPrefs(PrefService* prefs); - - private: - void CancelPendingQuery(); - void StoreFormEntriesInWebDatabase(const webkit_glue::FormFieldValues& form); - void SendSuggestions(const WDTypedResult* suggestions); - - TabContents* tab_contents_; - - BooleanPrefMember form_autofill_enabled_; - - // When the manager makes a request from WebDataService, the database - // is queried on another thread, we record the query handle until we - // get called back. - WebDataService::Handle pending_query_handle_; - int query_id_; - - DISALLOW_COPY_AND_ASSIGN(AutofillManager); -}; - -#endif // CHROME_BROWSER_AUTOFILL_MANAGER_H_ |