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> |
| 7 #include <stdint.h> |
6 | 8 |
7 #include "base/basictypes.h" | |
8 #include "base/location.h" | 9 #include "base/location.h" |
9 #include "base/prefs/pref_service.h" | 10 #include "base/prefs/pref_service.h" |
10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
11 #include "base/stl_util.h" | 12 #include "base/stl_util.h" |
12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_util.h" | 14 #include "base/strings/string_util.h" |
14 #include "base/strings/stringprintf.h" | 15 #include "base/strings/stringprintf.h" |
15 #include "base/strings/utf_string_conversions.h" | 16 #include "base/strings/utf_string_conversions.h" |
16 #include "base/thread_task_runner_handle.h" | 17 #include "base/thread_task_runner_handle.h" |
17 #include "base/time/time.h" | 18 #include "base/time/time.h" |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 EXPECT_EQ(form_google_, *form_list[0]); | 906 EXPECT_EQ(form_google_, *form_list[0]); |
906 | 907 |
907 EXPECT_EQ(1u, global_mock_libsecret_items->size()); | 908 EXPECT_EQ(1u, global_mock_libsecret_items->size()); |
908 if (!global_mock_libsecret_items->empty()) { | 909 if (!global_mock_libsecret_items->empty()) { |
909 CheckMockSecretItem((*global_mock_libsecret_items)[0], form_google_, | 910 CheckMockSecretItem((*global_mock_libsecret_items)[0], form_google_, |
910 "chrome-42"); | 911 "chrome-42"); |
911 } | 912 } |
912 } | 913 } |
913 | 914 |
914 // TODO(mdm): add more basic tests here at some point. | 915 // TODO(mdm): add more basic tests here at some point. |
OLD | NEW |