| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h" | 5 #include "chrome/browser/ui/cocoa/passwords/base_passwords_controller_test.h" |
| 6 | 6 |
| 7 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 8 #include "chrome/browser/password_manager/password_store_factory.h" | 8 #include "chrome/browser/password_manager/password_store_factory.h" |
| 9 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" | 9 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller_mock.h" |
| 10 #include "components/password_manager/core/browser/mock_password_store.h" | 10 #include "components/password_manager/core/browser/mock_password_store.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 ASSERT_TRUE(testing::Mock::VerifyAndClearExpectations(ui_controller_)); | 103 ASSERT_TRUE(testing::Mock::VerifyAndClearExpectations(ui_controller_)); |
| 104 } | 104 } |
| 105 | 105 |
| 106 ManagePasswordsBubbleModel::DisplayReason | 106 ManagePasswordsBubbleModel::DisplayReason |
| 107 ManagePasswordsControllerTest::GetDisplayReason() const { | 107 ManagePasswordsControllerTest::GetDisplayReason() const { |
| 108 return ManagePasswordsBubbleModel::AUTOMATIC; | 108 return ManagePasswordsBubbleModel::AUTOMATIC; |
| 109 } | 109 } |
| 110 | 110 |
| 111 @implementation ContentViewDelegateMock | 111 @implementation ContentViewDelegateMock |
| 112 | 112 |
| 113 @synthesize model = _model; |
| 113 @synthesize dismissed = _dismissed; | 114 @synthesize dismissed = _dismissed; |
| 114 | 115 |
| 115 - (void)viewShouldDismiss { | 116 - (void)viewShouldDismiss { |
| 116 _dismissed = YES; | 117 _dismissed = YES; |
| 117 } | 118 } |
| 118 | 119 |
| 119 @end | 120 @end |
| OLD | NEW |