OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <string> | 5 #include <string> |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/macros.h" |
8 #include "base/metrics/histogram_samples.h" | 9 #include "base/metrics/histogram_samples.h" |
9 #include "base/metrics/statistics_recorder.h" | 10 #include "base/metrics/statistics_recorder.h" |
10 #include "base/path_service.h" | 11 #include "base/path_service.h" |
11 #include "base/run_loop.h" | 12 #include "base/run_loop.h" |
12 #include "base/stl_util.h" | 13 #include "base/stl_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" |
| 16 #include "build/build_config.h" |
15 #include "chrome/browser/chrome_notification_types.h" | 17 #include "chrome/browser/chrome_notification_types.h" |
16 #include "chrome/browser/password_manager/chrome_password_manager_client.h" | 18 #include "chrome/browser/password_manager/chrome_password_manager_client.h" |
17 #include "chrome/browser/password_manager/password_manager_test_base.h" | 19 #include "chrome/browser/password_manager/password_manager_test_base.h" |
18 #include "chrome/browser/password_manager/password_store_factory.h" | 20 #include "chrome/browser/password_manager/password_store_factory.h" |
19 #include "chrome/browser/profiles/profile.h" | 21 #include "chrome/browser/profiles/profile.h" |
20 #include "chrome/browser/ui/browser.h" | 22 #include "chrome/browser/ui/browser.h" |
21 #include "chrome/browser/ui/browser_navigator_params.h" | 23 #include "chrome/browser/ui/browser_navigator_params.h" |
22 #include "chrome/browser/ui/login/login_prompt.h" | 24 #include "chrome/browser/ui/login/login_prompt.h" |
23 #include "chrome/browser/ui/login/login_prompt_test_utils.h" | 25 #include "chrome/browser/ui/login/login_prompt_test_utils.h" |
24 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" | 26 #include "chrome/browser/ui/passwords/manage_passwords_ui_controller.h" |
(...skipping 2894 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2919 std::string submit = | 2921 std::string submit = |
2920 "document.getElementById('username').value = 'temp';" | 2922 "document.getElementById('username').value = 'temp';" |
2921 "document.getElementById('password').value = 'mypassword';" | 2923 "document.getElementById('password').value = 'mypassword';" |
2922 "document.getElementById('submit').click();"; | 2924 "document.getElementById('submit').click();"; |
2923 VerifyPasswordIsSavedAndFilled( | 2925 VerifyPasswordIsSavedAndFilled( |
2924 "/password/password_autocomplete_off_test.html", submit, "password", | 2926 "/password/password_autocomplete_off_test.html", submit, "password", |
2925 "mypassword"); | 2927 "mypassword"); |
2926 } | 2928 } |
2927 | 2929 |
2928 } // namespace password_manager | 2930 } // namespace password_manager |
OLD | NEW |