OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/basictypes.h" | 5 #include "base/basictypes.h" |
6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
7 #include "base/platform_file.h" | 7 #include "base/platform_file.h" |
8 #include "base/scoped_temp_dir.h" | 8 #include "base/scoped_temp_dir.h" |
9 #include "base/stl_util.h" | 9 #include "base/stl_util.h" |
10 #include "base/string_util.h" | 10 #include "base/string_util.h" |
11 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
12 #include "base/time.h" | 12 #include "base/time.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/password_manager/password_form_data.h" | 14 #include "chrome/browser/password_manager/password_form_data.h" |
15 #include "chrome/browser/password_manager/password_store_change.h" | 15 #include "chrome/browser/password_manager/password_store_change.h" |
16 #include "chrome/browser/password_manager/password_store_consumer.h" | 16 #include "chrome/browser/password_manager/password_store_consumer.h" |
17 #include "chrome/browser/password_manager/password_store_x.h" | 17 #include "chrome/browser/password_manager/password_store_x.h" |
18 #include "chrome/browser/prefs/pref_service.h" | 18 #include "chrome/browser/prefs/pref_service.h" |
19 #include "chrome/browser/webdata/web_data_service.h" | 19 #include "chrome/browser/webdata/web_data_service.h" |
20 #include "chrome/common/chrome_notification_types.h" | 20 #include "chrome/common/chrome_notification_types.h" |
21 #include "chrome/common/pref_names.h" | 21 #include "chrome/common/pref_names.h" |
22 #include "chrome/test/base/signaling_task.h" | 22 #include "chrome/test/base/signaling_task.h" |
| 23 #include "chrome/test/base/testing_browser_process.h" |
23 #include "chrome/test/base/testing_profile.h" | 24 #include "chrome/test/base/testing_profile.h" |
24 #include "chrome/test/testing_browser_process.h" | |
25 #include "content/common/notification_details.h" | 25 #include "content/common/notification_details.h" |
26 #include "content/common/notification_observer_mock.h" | 26 #include "content/common/notification_observer_mock.h" |
27 #include "content/common/notification_registrar.h" | 27 #include "content/common/notification_registrar.h" |
28 #include "content/common/notification_source.h" | 28 #include "content/common/notification_source.h" |
29 #include "testing/gmock/include/gmock/gmock.h" | 29 #include "testing/gmock/include/gmock/gmock.h" |
30 #include "testing/gtest/include/gtest/gtest.h" | 30 #include "testing/gtest/include/gtest/gtest.h" |
31 | 31 |
32 using base::WaitableEvent; | 32 using base::WaitableEvent; |
33 using testing::_; | 33 using testing::_; |
34 using testing::DoAll; | 34 using testing::DoAll; |
(...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
762 | 762 |
763 INSTANTIATE_TEST_CASE_P(NoBackend, | 763 INSTANTIATE_TEST_CASE_P(NoBackend, |
764 PasswordStoreXTest, | 764 PasswordStoreXTest, |
765 testing::Values(NO_BACKEND)); | 765 testing::Values(NO_BACKEND)); |
766 INSTANTIATE_TEST_CASE_P(FailingBackend, | 766 INSTANTIATE_TEST_CASE_P(FailingBackend, |
767 PasswordStoreXTest, | 767 PasswordStoreXTest, |
768 testing::Values(FAILING_BACKEND)); | 768 testing::Values(FAILING_BACKEND)); |
769 INSTANTIATE_TEST_CASE_P(WorkingBackend, | 769 INSTANTIATE_TEST_CASE_P(WorkingBackend, |
770 PasswordStoreXTest, | 770 PasswordStoreXTest, |
771 testing::Values(WORKING_BACKEND)); | 771 testing::Values(WORKING_BACKEND)); |
OLD | NEW |