| 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 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ |
| 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ | 6 #define CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" | 8 #include "chrome/browser/ui/cocoa/cocoa_profile_test.h" |
| 9 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" | 9 #include "chrome/browser/ui/cocoa/cocoa_test_helper.h" |
| 10 | 10 |
| 11 namespace content { | 11 namespace content { |
| 12 class WebContents; | 12 class WebContents; |
| 13 } // namespace content | 13 } // namespace content |
| 14 | 14 |
| 15 class ManagePasswordsUIControllerMock; | 15 class ManagePasswordsUIControllerMock; |
| 16 class ManagePasswordsBubbleModel; | 16 class ManagePasswordsBubbleModel; |
| 17 | 17 |
| 18 class ManagePasswordsControllerTest : public CocoaProfileTest { | 18 class ManagePasswordsControllerTest : public CocoaProfileTest { |
| 19 public: | 19 public: |
| 20 ManagePasswordsControllerTest(); | 20 ManagePasswordsControllerTest(); |
| 21 virtual ~ManagePasswordsControllerTest(); | 21 virtual ~ManagePasswordsControllerTest(); |
| 22 virtual void SetUp() OVERRIDE; | 22 virtual void SetUp() override; |
| 23 | 23 |
| 24 ManagePasswordsUIControllerMock* ui_controller() { return ui_controller_; } | 24 ManagePasswordsUIControllerMock* ui_controller() { return ui_controller_; } |
| 25 ManagePasswordsBubbleModel* model(); | 25 ManagePasswordsBubbleModel* model(); |
| 26 | 26 |
| 27 private: | 27 private: |
| 28 ManagePasswordsUIControllerMock* ui_controller_; | 28 ManagePasswordsUIControllerMock* ui_controller_; |
| 29 scoped_ptr<content::WebContents> test_web_contents_; | 29 scoped_ptr<content::WebContents> test_web_contents_; |
| 30 scoped_ptr<ManagePasswordsBubbleModel> model_; | 30 scoped_ptr<ManagePasswordsBubbleModel> model_; |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ | 33 #endif // CHROME_BROWSER_UI_COCOA_PASSWORDS_MANAGE_PASSWORDS_CONTROLLER_TEST_H_ |
| OLD | NEW |