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 "chrome/browser/password_manager/password_store_x.h" | 5 #include "chrome/browser/password_manager/password_store_x.h" |
6 | 6 |
7 #include <stddef.h> | 7 #include <stddef.h> |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 #include <utility> | 10 #include <utility> |
11 | 11 |
12 #include "base/bind.h" | 12 #include "base/bind.h" |
13 #include "base/bind_helpers.h" | 13 #include "base/bind_helpers.h" |
14 #include "base/files/file_util.h" | 14 #include "base/files/file_util.h" |
15 #include "base/files/scoped_temp_dir.h" | 15 #include "base/files/scoped_temp_dir.h" |
16 #include "base/memory/ptr_util.h" | 16 #include "base/memory/ptr_util.h" |
17 #include "base/run_loop.h" | 17 #include "base/run_loop.h" |
18 #include "base/stl_util.h" | 18 #include "base/stl_util.h" |
19 #include "base/strings/string_util.h" | 19 #include "base/strings/string_util.h" |
20 #include "base/strings/stringprintf.h" | 20 #include "base/strings/stringprintf.h" |
21 #include "base/strings/utf_string_conversions.h" | 21 #include "base/strings/utf_string_conversions.h" |
22 #include "base/thread_task_runner_handle.h" | 22 #include "base/threading/thread_task_runner_handle.h" |
23 #include "base/time/time.h" | 23 #include "base/time/time.h" |
24 #include "chrome/test/base/testing_browser_process.h" | 24 #include "chrome/test/base/testing_browser_process.h" |
25 #include "components/password_manager/core/browser/password_manager_test_utils.h
" | 25 #include "components/password_manager/core/browser/password_manager_test_utils.h
" |
26 #include "components/password_manager/core/browser/password_store_change.h" | 26 #include "components/password_manager/core/browser/password_store_change.h" |
27 #include "components/password_manager/core/browser/password_store_consumer.h" | 27 #include "components/password_manager/core/browser/password_store_consumer.h" |
28 #include "components/password_manager/core/browser/password_store_origin_unittes
t.h" | 28 #include "components/password_manager/core/browser/password_store_origin_unittes
t.h" |
29 #include "components/password_manager/core/common/password_manager_pref_names.h" | 29 #include "components/password_manager/core/common/password_manager_pref_names.h" |
30 #include "components/prefs/pref_service.h" | 30 #include "components/prefs/pref_service.h" |
31 #include "content/public/browser/browser_thread.h" | 31 #include "content/public/browser/browser_thread.h" |
32 #include "content/public/test/test_browser_thread_bundle.h" | 32 #include "content/public/test/test_browser_thread_bundle.h" |
(...skipping 545 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
578 | 578 |
579 INSTANTIATE_TEST_CASE_P(NoBackend, | 579 INSTANTIATE_TEST_CASE_P(NoBackend, |
580 PasswordStoreXTest, | 580 PasswordStoreXTest, |
581 testing::Values(NO_BACKEND)); | 581 testing::Values(NO_BACKEND)); |
582 INSTANTIATE_TEST_CASE_P(FailingBackend, | 582 INSTANTIATE_TEST_CASE_P(FailingBackend, |
583 PasswordStoreXTest, | 583 PasswordStoreXTest, |
584 testing::Values(FAILING_BACKEND)); | 584 testing::Values(FAILING_BACKEND)); |
585 INSTANTIATE_TEST_CASE_P(WorkingBackend, | 585 INSTANTIATE_TEST_CASE_P(WorkingBackend, |
586 PasswordStoreXTest, | 586 PasswordStoreXTest, |
587 testing::Values(WORKING_BACKEND)); | 587 testing::Values(WORKING_BACKEND)); |
OLD | NEW |