diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:47:00 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 21:47:00 +0000 |
commit | 19289d00bada609db08b87c8697d718366e509c6 (patch) | |
tree | ba3ecc3bdaa87426c2f3a41d16bc73b78c015e5c /chrome/browser/tab_contents | |
parent | a018d5951409fc3c4253cade2632bdbab7351d98 (diff) | |
download | chromium_src-19289d00bada609db08b87c8697d718366e509c6.zip chromium_src-19289d00bada609db08b87c8697d718366e509c6.tar.gz chromium_src-19289d00bada609db08b87c8697d718366e509c6.tar.bz2 |
Rename AutofillManager to FormFieldHistoryManager to better reflect the purpose of the class.
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/292050
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29717 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents')
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.cc | 10 | ||||
-rw-r--r-- | chrome/browser/tab_contents/tab_contents.h | 6 |
2 files changed, 8 insertions, 8 deletions
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 7b6675b..4faf384 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -11,7 +11,6 @@ #include "base/string16.h" #include "base/string_util.h" #include "base/time.h" -#include "chrome/browser/autofill_manager.h" #include "chrome/browser/blocked_popup_container.h" #include "chrome/browser/bookmarks/bookmark_model.h" #include "chrome/browser/browser_process.h" @@ -26,6 +25,7 @@ #include "chrome/browser/download/download_request_manager.h" #include "chrome/browser/external_protocol_handler.h" #include "chrome/browser/favicon_service.h" +#include "chrome/browser/form_field_history_manager.h" #include "chrome/browser/gears_integration.h" #include "chrome/browser/google_util.h" #include "chrome/browser/hung_renderer_dialog.h" @@ -228,7 +228,7 @@ TabContents::TabContents(Profile* profile, ALLOW_THIS_IN_INITIALIZER_LIST(printing_(*this)), save_package_(), cancelable_consumer_(), - autofill_manager_(), + form_field_history_manager_(), password_manager_(), plugin_installer_(), ALLOW_THIS_IN_INITIALIZER_LIST(fav_icon_helper_(this)), @@ -1935,9 +1935,9 @@ RenderViewHostDelegate::FavIcon* TabContents::GetFavIconDelegate() { RenderViewHostDelegate::FormFieldHistory* TabContents::GetFormFieldHistoryDelegate() { - if (autofill_manager_.get() == NULL) - autofill_manager_.reset(new AutofillManager(this)); - return autofill_manager_.get(); + if (form_field_history_manager_.get() == NULL) + form_field_history_manager_.reset(new FormFieldHistoryManager(this)); + return form_field_history_manager_.get(); } RendererPreferences TabContents::GetRendererPrefs() const { diff --git a/chrome/browser/tab_contents/tab_contents.h b/chrome/browser/tab_contents/tab_contents.h index 9691801..78ccc14 100644 --- a/chrome/browser/tab_contents/tab_contents.h +++ b/chrome/browser/tab_contents/tab_contents.h @@ -68,7 +68,7 @@ namespace IPC { class Message; } -class AutofillManager; +class FormFieldHistoryManager; class BlockedPopupContainer; class DOMUI; class DownloadItem; @@ -1008,8 +1008,8 @@ class TabContents : public PageNavigator, // page ID -1 means no page ID was set. CancelableRequestConsumerT<int32, -1> cancelable_consumer_; - // AutofillManager, lazily created. - scoped_ptr<AutofillManager> autofill_manager_; + // FormFieldHistoryManager, lazily created. + scoped_ptr<FormFieldHistoryManager> form_field_history_manager_; // PasswordManager, lazily created. scoped_ptr<PasswordManager> password_manager_; |