| 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_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ | 5 #ifndef CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ |
| 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ | 6 #define CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ |
| 7 | 7 |
| 8 #include "base/metrics/histogram_samples.h" | 8 #include "base/metrics/histogram_samples.h" |
| 9 #include "base/test/histogram_tester.h" | 9 #include "base/test/histogram_tester.h" |
| 10 #include "chrome/test/base/in_process_browser_test.h" | 10 #include "chrome/test/base/in_process_browser_test.h" |
| 11 #include "components/autofill/core/common/password_form.h" | 11 #include "components/autofill/core/common/password_form.h" |
| 12 #include "components/password_manager/content/common/credential_manager_types.h" | 12 #include "components/password_manager/core/common/credential_manager_types.h" |
| 13 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
| 14 #include "testing/gtest/include/gtest/gtest.h" | 14 #include "testing/gtest/include/gtest/gtest.h" |
| 15 | 15 |
| 16 class ManagePasswordsUIController; | 16 class ManagePasswordsUIController; |
| 17 class ManagePasswordsIcon; | 17 class ManagePasswordsIcon; |
| 18 class GURL; | 18 class GURL; |
| 19 | 19 |
| 20 // Test class for the various password management view bits and pieces. Sets | 20 // Test class for the various password management view bits and pieces. Sets |
| 21 // up a ManagePasswordsUIControllerMock, and provides some helper methods | 21 // up a ManagePasswordsUIControllerMock, and provides some helper methods |
| 22 // to poke at the bubble, icon, and controller's state. | 22 // to poke at the bubble, icon, and controller's state. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 void(const password_manager::CredentialInfo&)); | 68 void(const password_manager::CredentialInfo&)); |
| 69 | 69 |
| 70 private: | 70 private: |
| 71 autofill::PasswordForm test_form_; | 71 autofill::PasswordForm test_form_; |
| 72 base::HistogramTester histogram_tester_; | 72 base::HistogramTester histogram_tester_; |
| 73 | 73 |
| 74 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsTest); | 74 DISALLOW_COPY_AND_ASSIGN(ManagePasswordsTest); |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ | 77 #endif // CHROME_BROWSER_UI_PASSWORDS_MANAGE_PASSWORDS_TEST_H_ |
| OLD | NEW |