| 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 <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/strings/string_number_conversions.h" | 12 #include "base/strings/string_number_conversions.h" |
| 12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 13 #include "base/strings/stringprintf.h" | 14 #include "base/strings/stringprintf.h" |
| 14 #include "base/strings/utf_string_conversions.h" | 15 #include "base/strings/utf_string_conversions.h" |
| 15 #include "base/thread_task_runner_handle.h" | 16 #include "base/thread_task_runner_handle.h" |
| 16 #include "base/time/time.h" | 17 #include "base/time/time.h" |
| 17 #include "chrome/browser/password_manager/native_backend_gnome_x.h" | 18 #include "chrome/browser/password_manager/native_backend_gnome_x.h" |
| (...skipping 1180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1198 | 1199 |
| 1199 EXPECT_EQ(1u, form_list.size()); | 1200 EXPECT_EQ(1u, form_list.size()); |
| 1200 EXPECT_EQ(form_google_, *form_list[0]); | 1201 EXPECT_EQ(form_google_, *form_list[0]); |
| 1201 | 1202 |
| 1202 EXPECT_EQ(1u, mock_keyring_items.size()); | 1203 EXPECT_EQ(1u, mock_keyring_items.size()); |
| 1203 if (mock_keyring_items.size() > 0) | 1204 if (mock_keyring_items.size() > 0) |
| 1204 CheckMockKeyringItem(&mock_keyring_items[0], form_google_, "chrome-42"); | 1205 CheckMockKeyringItem(&mock_keyring_items[0], form_google_, "chrome-42"); |
| 1205 } | 1206 } |
| 1206 | 1207 |
| 1207 // TODO(mdm): add more basic tests here at some point. | 1208 // TODO(mdm): add more basic tests here at some point. |
| OLD | NEW |