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

Unified Diff: chrome/renderer/autofill/fake_content_password_manager_driver.cc

Issue 2915763003: [Password Manager] Show omnibox icon and anchored prompt once user start typing password (Closed)
Patch Set: Rebase Created 3 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/autofill/fake_content_password_manager_driver.cc
diff --git a/chrome/renderer/autofill/fake_content_password_manager_driver.cc b/chrome/renderer/autofill/fake_content_password_manager_driver.cc
index 005c7ee7a5163fba5552a256e948354d94f7a09b..a60a0fb5fcde48abe0d2e46c059f349da91fcc0a 100644
--- a/chrome/renderer/autofill/fake_content_password_manager_driver.cc
+++ b/chrome/renderer/autofill/fake_content_password_manager_driver.cc
@@ -98,3 +98,12 @@ void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation(
const GURL& frame_url) {
called_check_safe_browsing_reputation_cnt_++;
}
+
+void FakeContentPasswordManagerDriver::ShowManualFallbackForSaving(
+ const autofill::PasswordForm& password_form) {
+ called_show_manual_fallback_for_saving_count_++;
+}
+
+void FakeContentPasswordManagerDriver::HideManualFallbackForSaving() {
+ called_show_manual_fallback_for_saving_count_ = 0;
+}

Powered by Google App Engine
This is Rietveld 408576698