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

Unified Diff: chrome/browser/autofill/autofill_manager_unittest.cc

Issue 10546054: TabContentsWrapper -> TabContents, part 5. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/autofill/autofill_metrics_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autofill/autofill_manager_unittest.cc
diff --git a/chrome/browser/autofill/autofill_manager_unittest.cc b/chrome/browser/autofill/autofill_manager_unittest.cc
index 12311a8cafe9ec45f625a1f4a218c101efc9323b..ef34fdf187b6c2b28807270f65b1cb040d6007c9 100644
--- a/chrome/browser/autofill/autofill_manager_unittest.cc
+++ b/chrome/browser/autofill/autofill_manager_unittest.cc
@@ -26,7 +26,7 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sync/profile_sync_service.h"
#include "chrome/browser/ui/browser.h"
-#include "chrome/browser/ui/tab_contents/tab_contents_wrapper.h"
+#include "chrome/browser/ui/tab_contents/tab_contents.h"
#include "chrome/browser/ui/tab_contents/test_tab_contents.h"
#include "chrome/common/autofill_messages.h"
#include "chrome/common/chrome_switches.h"
@@ -439,7 +439,7 @@ void ExpectFilledCreditCardYearMonthWithYearMonth(int page_id,
class TestAutofillManager : public AutofillManager {
public:
- TestAutofillManager(TabContentsWrapper* tab_contents,
+ TestAutofillManager(TabContents* tab_contents,
TestPersonalDataManager* personal_data)
: AutofillManager(tab_contents, personal_data),
personal_data_(personal_data),
@@ -3073,9 +3073,9 @@ namespace {
class MockAutofillExternalDelegate : public TestAutofillExternalDelegate {
public:
- explicit MockAutofillExternalDelegate(TabContentsWrapper* wrapper,
+ explicit MockAutofillExternalDelegate(TabContents* tab_contents,
AutofillManager* autofill_manager)
- : TestAutofillExternalDelegate(wrapper, autofill_manager) {}
+ : TestAutofillExternalDelegate(tab_contents, autofill_manager) {}
virtual ~MockAutofillExternalDelegate() {}
MOCK_METHOD5(OnQuery, void(int query_id,
@@ -3123,7 +3123,7 @@ TEST_F(AutofillManagerTest, TestTabContentsWithExternalDelegate) {
CommandLine::ForCurrentProcess()->AppendSwitch(
switches::kExternalAutofillPopup);
- // Setting the contents creates a new TabContentsWrapper.
+ // Setting the contents creates a new TabContents.
WebContents* contents = CreateTestWebContents();
SetContents(contents);
« no previous file with comments | « chrome/browser/autofill/autofill_manager.cc ('k') | chrome/browser/autofill/autofill_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698