Rename FormFieldHistoryManager to AutocompleteHistory manager to better reflect its relation to the Autocomplete feature.
BUG=33032
TEST=none
Review URL: http://codereview.chromium.org/661323
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40408 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc
index 205b56d..254567c 100644
--- a/chrome/browser/tab_contents/tab_contents.cc
+++ b/chrome/browser/tab_contents/tab_contents.cc
@@ -13,6 +13,7 @@
#include "base/string16.h"
#include "base/string_util.h"
#include "base/time.h"
+#include "chrome/browser/autocomplete_history_manager.h"
#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/blocked_popup_container.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
@@ -30,7 +31,6 @@
#include "chrome/browser/external_protocol_handler.h"
#include "chrome/browser/extensions/extensions_service.h"
#include "chrome/browser/favicon_service.h"
-#include "chrome/browser/form_field_history_manager.h"
#include "chrome/browser/google_util.h"
#include "chrome/browser/host_content_settings_map.h"
#include "chrome/browser/hung_renderer_dialog.h"
@@ -237,7 +237,7 @@
registrar_(),
ALLOW_THIS_IN_INITIALIZER_LIST(printing_(*this)),
save_package_(),
- form_field_history_manager_(),
+ autocomplete_history_manager_(),
autofill_manager_(),
password_manager_(),
plugin_installer_(),
@@ -2035,9 +2035,9 @@
RenderViewHostDelegate::FormFieldHistory*
TabContents::GetFormFieldHistoryDelegate() {
- if (form_field_history_manager_.get() == NULL)
- form_field_history_manager_.reset(new FormFieldHistoryManager(this));
- return form_field_history_manager_.get();
+ if (autocomplete_history_manager_.get() == NULL)
+ autocomplete_history_manager_.reset(new AutocompleteHistoryManager(this));
+ return autocomplete_history_manager_.get();
}
RenderViewHostDelegate::AutoFill* TabContents::GetAutoFillDelegate() {