| 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 "components/password_manager/core/browser/password_manager.h" | 5 #include "components/password_manager/core/browser/password_manager.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include <vector> | 8 #include <vector> |
| 9 | 9 |
| 10 #include "base/command_line.h" | 10 #include "base/command_line.h" |
| 11 #include "base/macros.h" |
| 11 #include "base/message_loop/message_loop.h" | 12 #include "base/message_loop/message_loop.h" |
| 12 #include "base/strings/string_util.h" | 13 #include "base/strings/string_util.h" |
| 13 #include "base/strings/utf_string_conversions.h" | 14 #include "base/strings/utf_string_conversions.h" |
| 14 #include "components/password_manager/core/browser/mock_password_store.h" | 15 #include "components/password_manager/core/browser/mock_password_store.h" |
| 15 #include "components/password_manager/core/browser/password_autofill_manager.h" | 16 #include "components/password_manager/core/browser/password_autofill_manager.h" |
| 16 #include "components/password_manager/core/browser/password_manager_driver.h" | 17 #include "components/password_manager/core/browser/password_manager_driver.h" |
| 17 #include "components/password_manager/core/browser/password_store.h" | 18 #include "components/password_manager/core/browser/password_store.h" |
| 18 #include "components/password_manager/core/browser/statistics_table.h" | 19 #include "components/password_manager/core/browser/statistics_table.h" |
| 19 #include "components/password_manager/core/browser/stub_password_manager_client.
h" | 20 #include "components/password_manager/core/browser/stub_password_manager_client.
h" |
| 20 #include "components/password_manager/core/browser/stub_password_manager_driver.
h" | 21 #include "components/password_manager/core/browser/stub_password_manager_driver.
h" |
| (...skipping 1286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1307 observed.clear(); | 1308 observed.clear(); |
| 1308 manager()->OnPasswordFormsRendered(&driver_, observed, true); | 1309 manager()->OnPasswordFormsRendered(&driver_, observed, true); |
| 1309 | 1310 |
| 1310 EXPECT_EQ(android_form.username_value, form_data.username_field.value); | 1311 EXPECT_EQ(android_form.username_value, form_data.username_field.value); |
| 1311 EXPECT_EQ(android_form.password_value, form_data.password_field.value); | 1312 EXPECT_EQ(android_form.password_value, form_data.password_field.value); |
| 1312 EXPECT_FALSE(form_data.wait_for_username); | 1313 EXPECT_FALSE(form_data.wait_for_username); |
| 1313 EXPECT_EQ(android_form.signon_realm, form_data.preferred_realm); | 1314 EXPECT_EQ(android_form.signon_realm, form_data.preferred_realm); |
| 1314 } | 1315 } |
| 1315 | 1316 |
| 1316 } // namespace password_manager | 1317 } // namespace password_manager |
| OLD | NEW |