Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(378)

Side by Side Diff: chrome/browser/password_manager/password_manager_browsertest.cc

Issue 1668523002: [Password Manager] Switch password manager code to use the Feature framework. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses the review inputs. Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 #include <utility> 6 #include <utility>
7 7
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/metrics/histogram_samples.h" 10 #include "base/metrics/histogram_samples.h"
(...skipping 22 matching lines...) Expand all
33 #include "chrome/test/base/ui_test_utils.h" 33 #include "chrome/test/base/ui_test_utils.h"
34 #include "components/autofill/content/common/autofill_messages.h" 34 #include "components/autofill/content/common/autofill_messages.h"
35 #include "components/autofill/core/browser/autofill_test_utils.h" 35 #include "components/autofill/core/browser/autofill_test_utils.h"
36 #include "components/autofill/core/browser/test_autofill_client.h" 36 #include "components/autofill/core/browser/test_autofill_client.h"
37 #include "components/autofill/core/common/password_form.h" 37 #include "components/autofill/core/common/password_form.h"
38 #include "components/password_manager/content/browser/content_password_manager_d river.h" 38 #include "components/password_manager/content/browser/content_password_manager_d river.h"
39 #include "components/password_manager/content/browser/content_password_manager_d river_factory.h" 39 #include "components/password_manager/content/browser/content_password_manager_d river_factory.h"
40 #include "components/password_manager/core/browser/login_model.h" 40 #include "components/password_manager/core/browser/login_model.h"
41 #include "components/password_manager/core/browser/test_password_store.h" 41 #include "components/password_manager/core/browser/test_password_store.h"
42 #include "components/password_manager/core/common/password_manager_features.h" 42 #include "components/password_manager/core/common/password_manager_features.h"
43 #include "components/password_manager/core/common/password_manager_switches.h"
44 #include "components/version_info/version_info.h" 43 #include "components/version_info/version_info.h"
45 #include "content/public/browser/navigation_controller.h" 44 #include "content/public/browser/navigation_controller.h"
46 #include "content/public/browser/notification_service.h" 45 #include "content/public/browser/notification_service.h"
47 #include "content/public/browser/render_frame_host.h" 46 #include "content/public/browser/render_frame_host.h"
48 #include "content/public/browser/render_process_host.h" 47 #include "content/public/browser/render_process_host.h"
49 #include "content/public/browser/render_view_host.h" 48 #include "content/public/browser/render_view_host.h"
50 #include "content/public/browser/web_contents.h" 49 #include "content/public/browser/web_contents.h"
51 #include "content/public/browser/web_contents_observer.h" 50 #include "content/public/browser/web_contents_observer.h"
52 #include "content/public/common/content_switches.h" 51 #include "content/public/common/content_switches.h"
53 #include "content/public/test/browser_test_utils.h" 52 #include "content/public/test/browser_test_utils.h"
(...skipping 2845 matching lines...) Expand 10 before | Expand all | Expand 10 after
2899 std::string submit = 2898 std::string submit =
2900 "document.getElementById('username').value = 'temp';" 2899 "document.getElementById('username').value = 'temp';"
2901 "document.getElementById('password').value = 'mypassword';" 2900 "document.getElementById('password').value = 'mypassword';"
2902 "document.getElementById('submit').click();"; 2901 "document.getElementById('submit').click();";
2903 VerifyPasswordIsSavedAndFilled( 2902 VerifyPasswordIsSavedAndFilled(
2904 "/password/password_autocomplete_off_test.html", submit, "password", 2903 "/password/password_autocomplete_off_test.html", submit, "password",
2905 "mypassword"); 2904 "mypassword");
2906 } 2905 }
2907 2906
2908 } // namespace password_manager 2907 } // namespace password_manager
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698