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

Unified Diff: chrome/browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm

Issue 21692002: Rename AutofillDialogController to AutofillDialogViewDelegate. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase. Created 7 years, 4 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/cocoa/autofill/autofill_sign_in_container_unittest.mm
diff --git a/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm b/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm
index 77f8a4bf8f955495dcb677471288841ec0eb9037..238f45816432695972eb4700b9a84c9d1a78f3d4 100644
--- a/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm
+++ b/chrome/browser/ui/cocoa/autofill/autofill_sign_in_container_unittest.mm
@@ -5,7 +5,7 @@
#import "chrome/browser/ui/cocoa/autofill/autofill_sign_in_container.h"
#include "base/mac/scoped_nsobject.h"
-#include "chrome/browser/ui/autofill/mock_autofill_dialog_controller.h"
+#include "chrome/browser/ui/autofill/mock_autofill_dialog_view_delegate.h"
#import "chrome/browser/ui/cocoa/cocoa_test_helper.h"
#include "chrome/test/base/chrome_render_view_host_test_harness.h"
#include "chrome/test/base/testing_profile.h"
@@ -34,8 +34,8 @@ class AutofillSignInContainerTest : public ChromeRenderViewHostTestHarness {
// from from CocoaTest, so do a bootstrap and create test window.
CocoaTest::BootstrapCocoa();
container_.reset(
- [[AutofillSignInContainer alloc] initWithController:&controller_]);
- EXPECT_CALL(controller_, profile())
+ [[AutofillSignInContainer alloc] initWithDelegate:&delegate_]);
+ EXPECT_CALL(delegate_, profile())
.WillOnce(testing::Return(this->profile()));
[[test_window() contentView] addSubview:[container_ view]];
}
@@ -61,7 +61,7 @@ class AutofillSignInContainerTest : public ChromeRenderViewHostTestHarness {
protected:
base::scoped_nsobject<AutofillSignInContainer> container_;
- testing::NiceMock<autofill::MockAutofillDialogController> controller_;
+ testing::NiceMock<autofill::MockAutofillDialogViewDelegate> delegate_;
CocoaTestHelperWindow* test_window_;
};

Powered by Google App Engine
This is Rietveld 408576698