| Index: chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm
|
| diff --git a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm
|
| index 9c7c1ea58a7cf2115646f03aa93b0f9e1d9fb5dd..ac5dcf83689faac371572ed76a48e70b40414dbf 100644
|
| --- a/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm
|
| +++ b/chrome/browser/ui/cocoa/passwords/manage_passwords_bubble_pending_view_controller_unittest.mm
|
| @@ -17,14 +17,6 @@
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| #include "testing/gtest_mac.h"
|
|
|
| -namespace {
|
| -void ClickMenuItem(BubbleCombobox* button, int index) {
|
| - // Skip the title if applicable.
|
| - [[button menu]
|
| - performActionForItemAtIndex:(button.pullsDown ? index + 1 : index)];
|
| -}
|
| -} // namespace
|
| -
|
| @interface ManagePasswordsBubblePendingViewTestDelegate
|
| : NSObject<ManagePasswordsBubblePendingViewDelegate> {
|
| BOOL dismissed_;
|
| @@ -49,6 +41,14 @@ void ClickMenuItem(BubbleCombobox* button, int index) {
|
|
|
| @end
|
|
|
| +namespace {
|
| +
|
| +void ClickMenuItem(BubbleCombobox* button, int index) {
|
| + // Skip the title if applicable.
|
| + [[button menu]
|
| + performActionForItemAtIndex:(button.pullsDown ? index + 1 : index)];
|
| +}
|
| +
|
| class ManagePasswordsBubblePendingViewControllerTest
|
| : public ManagePasswordsControllerTest {
|
| public:
|
| @@ -129,3 +129,5 @@ TEST_F(ManagePasswordsBubblePendingViewControllerTest,
|
| EXPECT_FALSE(ui_controller()->saved_password());
|
| EXPECT_FALSE(ui_controller()->never_saved_password());
|
| }
|
| +
|
| +} // namespace
|
|
|