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

Unified Diff: chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc

Issue 12476031: Refactor notifications of chrome/browser/webdata (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 9 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/autofill/autofill_dialog_controller_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
index 898eb7eae78747b47c70e53cde278e46631317e2..754fd7840515e3b64bedb0f72fe8ef8bd77e9fac 100644
--- a/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc
@@ -139,6 +139,10 @@ class TestAutofillDialogController : public AutofillDialogControllerImpl {
return new TestAutofillDialogView();
}
+ void Init(content::BrowserContext* browser_context) {
+ test_manager_.Init(browser_context);
+ }
+
TestAutofillDialogView* GetView() {
return static_cast<TestAutofillDialogView*>(view());
}
@@ -211,6 +215,7 @@ class AutofillDialogControllerTest : public testing::Test {
metric_logger_,
DIALOG_TYPE_REQUEST_AUTOCOMPLETE,
callback);
+ controller_->Init(profile());
controller_->Show();
}
« no previous file with comments | « chrome/browser/sync/test/integration/autofill_helper.cc ('k') | chrome/browser/webdata/autocomplete_syncable_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698