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

Unified Diff: chrome/browser/ui/tab_contents/tab_contents.cc

Issue 11185011: Remove TabContents from autofill unittests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove some Created 8 years, 2 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: chrome/browser/ui/tab_contents/tab_contents.cc
diff --git a/chrome/browser/ui/tab_contents/tab_contents.cc b/chrome/browser/ui/tab_contents/tab_contents.cc
index 4b683349122d2251df0ad102f098d406e43f692b..b630b9280404db8f4398162a93ee84c01923d146 100644
--- a/chrome/browser/ui/tab_contents/tab_contents.cc
+++ b/chrome/browser/ui/tab_contents/tab_contents.cc
@@ -6,7 +6,6 @@
#include "base/command_line.h"
#include "base/lazy_instance.h"
-#include "chrome/browser/autofill/autocomplete_history_manager.h"
#include "chrome/browser/autofill/autofill_external_delegate.h"
#include "chrome/browser/autofill/autofill_manager.h"
#include "chrome/browser/automation/automation_tab_helper.h"
@@ -113,7 +112,6 @@ TabContents::TabContents(WebContents* contents)
SessionTabHelper::CreateForWebContents(contents);
AlternateErrorPageTabObserver::CreateForWebContents(contents);
- AutocompleteHistoryManager::CreateForWebContents(contents);
TabAutofillManagerDelegate::CreateForWebContents(contents);
AutofillManager::CreateForWebContentsAndDelegate(
contents, TabAutofillManagerDelegate::FromWebContents(contents));
@@ -123,8 +121,6 @@ TabContents::TabContents(WebContents* contents)
contents, AutofillManager::FromWebContents(contents));
AutofillManager::FromWebContents(contents)->SetExternalDelegate(
AutofillExternalDelegate::FromWebContents(contents));
- AutocompleteHistoryManager::FromWebContents(contents)->SetExternalDelegate(
- AutofillExternalDelegate::FromWebContents(contents));
}
BlockedContentTabHelper::CreateForWebContents(contents);
BookmarkTabHelper::CreateForWebContents(contents);

Powered by Google App Engine
This is Rietveld 408576698