| 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 "base/macros.h" |
| 5 #include "base/strings/string_util.h" | 6 #include "base/strings/string_util.h" |
| 6 #include "base/strings/utf_string_conversions.h" | 7 #include "base/strings/utf_string_conversions.h" |
| 7 #include "chrome/renderer/autofill/password_generation_test_utils.h" | 8 #include "chrome/renderer/autofill/password_generation_test_utils.h" |
| 8 #include "chrome/test/base/chrome_render_view_test.h" | 9 #include "chrome/test/base/chrome_render_view_test.h" |
| 9 #include "components/autofill/content/common/autofill_messages.h" | 10 #include "components/autofill/content/common/autofill_messages.h" |
| 10 #include "components/autofill/content/renderer/autofill_agent.h" | 11 #include "components/autofill/content/renderer/autofill_agent.h" |
| 11 #include "components/autofill/content/renderer/form_autofill_util.h" | 12 #include "components/autofill/content/renderer/form_autofill_util.h" |
| 12 #include "components/autofill/content/renderer/password_autofill_agent.h" | 13 #include "components/autofill/content/renderer/password_autofill_agent.h" |
| 13 #include "components/autofill/content/renderer/test_password_autofill_agent.h" | 14 #include "components/autofill/content/renderer/test_password_autofill_agent.h" |
| 14 #include "components/autofill/content/renderer/test_password_generation_agent.h" | 15 #include "components/autofill/content/renderer/test_password_generation_agent.h" |
| (...skipping 2271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2286 UpdateOriginForHTML(kTwoNoUsernameFormsHTML); | 2287 UpdateOriginForHTML(kTwoNoUsernameFormsHTML); |
| 2287 SimulateOnFillPasswordForm(fill_data_); | 2288 SimulateOnFillPasswordForm(fill_data_); |
| 2288 | 2289 |
| 2289 SimulateElementClick("password1"); | 2290 SimulateElementClick("password1"); |
| 2290 CheckSuggestions(std::string(), false); | 2291 CheckSuggestions(std::string(), false); |
| 2291 SimulateElementClick("password2"); | 2292 SimulateElementClick("password2"); |
| 2292 CheckSuggestions(std::string(), false); | 2293 CheckSuggestions(std::string(), false); |
| 2293 } | 2294 } |
| 2294 | 2295 |
| 2295 } // namespace autofill | 2296 } // namespace autofill |
| OLD | NEW |