OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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/bind.h" | 6 #include "base/bind.h" |
7 #include "base/bind_helpers.h" | 7 #include "base/bind_helpers.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
| 11 #include "base/prefs/pref_service.h" |
11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
12 #include "base/string_util.h" | 13 #include "base/string_util.h" |
13 #include "base/stringprintf.h" | 14 #include "base/stringprintf.h" |
14 #include "base/synchronization/waitable_event.h" | 15 #include "base/synchronization/waitable_event.h" |
15 #include "base/time.h" | 16 #include "base/time.h" |
16 #include "base/utf_string_conversions.h" | 17 #include "base/utf_string_conversions.h" |
17 #include "chrome/browser/password_manager/password_form_data.h" | 18 #include "chrome/browser/password_manager/password_form_data.h" |
18 #include "chrome/browser/password_manager/password_store_change.h" | 19 #include "chrome/browser/password_manager/password_store_change.h" |
19 #include "chrome/browser/password_manager/password_store_consumer.h" | 20 #include "chrome/browser/password_manager/password_store_consumer.h" |
20 #include "chrome/browser/password_manager/password_store_x.h" | 21 #include "chrome/browser/password_manager/password_store_x.h" |
21 #include "chrome/browser/prefs/pref_service.h" | |
22 #include "chrome/common/chrome_notification_types.h" | 22 #include "chrome/common/chrome_notification_types.h" |
23 #include "chrome/common/pref_names.h" | 23 #include "chrome/common/pref_names.h" |
24 #include "chrome/test/base/testing_browser_process.h" | 24 #include "chrome/test/base/testing_browser_process.h" |
25 #include "chrome/test/base/testing_profile.h" | 25 #include "chrome/test/base/testing_profile.h" |
26 #include "content/public/browser/notification_details.h" | 26 #include "content/public/browser/notification_details.h" |
27 #include "content/public/browser/notification_registrar.h" | 27 #include "content/public/browser/notification_registrar.h" |
28 #include "content/public/browser/notification_source.h" | 28 #include "content/public/browser/notification_source.h" |
29 #include "content/public/test/mock_notification_observer.h" | 29 #include "content/public/test/mock_notification_observer.h" |
30 #include "content/public/test/test_browser_thread.h" | 30 #include "content/public/test/test_browser_thread.h" |
31 #include "testing/gmock/include/gmock/gmock.h" | 31 #include "testing/gmock/include/gmock/gmock.h" |
(...skipping 516 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
548 | 548 |
549 INSTANTIATE_TEST_CASE_P(NoBackend, | 549 INSTANTIATE_TEST_CASE_P(NoBackend, |
550 PasswordStoreXTest, | 550 PasswordStoreXTest, |
551 testing::Values(NO_BACKEND)); | 551 testing::Values(NO_BACKEND)); |
552 INSTANTIATE_TEST_CASE_P(FailingBackend, | 552 INSTANTIATE_TEST_CASE_P(FailingBackend, |
553 PasswordStoreXTest, | 553 PasswordStoreXTest, |
554 testing::Values(FAILING_BACKEND)); | 554 testing::Values(FAILING_BACKEND)); |
555 INSTANTIATE_TEST_CASE_P(WorkingBackend, | 555 INSTANTIATE_TEST_CASE_P(WorkingBackend, |
556 PasswordStoreXTest, | 556 PasswordStoreXTest, |
557 testing::Values(WORKING_BACKEND)); | 557 testing::Values(WORKING_BACKEND)); |
OLD | NEW |