| OLD | NEW |
| 1 // Copyright (c) 2015 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2015 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 <stdarg.h> | 5 #include <stdarg.h> |
| 6 #include <stddef.h> | 6 #include <stddef.h> |
| 7 #include <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "base/location.h" | 9 #include "base/location.h" |
| 10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
| 11 #include "base/message_loop/message_loop.h" |
| 11 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
| 12 #include "base/single_thread_task_runner.h" | 13 #include "base/single_thread_task_runner.h" |
| 13 #include "base/stl_util.h" | 14 #include "base/stl_util.h" |
| 14 #include "base/strings/string_number_conversions.h" | 15 #include "base/strings/string_number_conversions.h" |
| 15 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
| 16 #include "base/strings/utf_string_conversions.h" | 17 #include "base/strings/utf_string_conversions.h" |
| 17 #include "base/test/scoped_task_environment.h" | 18 #include "base/test/scoped_task_environment.h" |
| 18 #include "base/threading/thread_task_runner_handle.h" | 19 #include "base/threading/thread_task_runner_handle.h" |
| 19 #include "base/time/time.h" | 20 #include "base/time/time.h" |
| 20 #include "chrome/browser/password_manager/native_backend_libsecret.h" | 21 #include "chrome/browser/password_manager/native_backend_libsecret.h" |
| (...skipping 996 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 EXPECT_EQ(form_google_, *form_list[0]); | 1018 EXPECT_EQ(form_google_, *form_list[0]); |
| 1018 | 1019 |
| 1019 EXPECT_EQ(1u, global_mock_libsecret_items->size()); | 1020 EXPECT_EQ(1u, global_mock_libsecret_items->size()); |
| 1020 if (!global_mock_libsecret_items->empty()) { | 1021 if (!global_mock_libsecret_items->empty()) { |
| 1021 CheckMockSecretItem((*global_mock_libsecret_items)[0].get(), form_google_, | 1022 CheckMockSecretItem((*global_mock_libsecret_items)[0].get(), form_google_, |
| 1022 "chrome-42"); | 1023 "chrome-42"); |
| 1023 } | 1024 } |
| 1024 } | 1025 } |
| 1025 | 1026 |
| 1026 // TODO(mdm): add more basic tests here at some point. | 1027 // TODO(mdm): add more basic tests here at some point. |
| OLD | NEW |