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

Side by Side 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: Sent For Review Created 3 years, 5 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/renderer/autofill/fake_content_password_manager_driver.h" 5 #include "chrome/renderer/autofill/fake_content_password_manager_driver.h"
6 6
7 #include "testing/gtest/include/gtest/gtest.h" 7 #include "testing/gtest/include/gtest/gtest.h"
8 8
9 FakeContentPasswordManagerDriver::FakeContentPasswordManagerDriver() {} 9 FakeContentPasswordManagerDriver::FakeContentPasswordManagerDriver() {}
10 10
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 const base::string16& generation_field) { 85 const base::string16& generation_field) {
86 called_save_generation_field_ = true; 86 called_save_generation_field_ = true;
87 save_generation_field_ = generation_field; 87 save_generation_field_ = generation_field;
88 } 88 }
89 89
90 void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation( 90 void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation(
91 const GURL& form_action, 91 const GURL& form_action,
92 const GURL& frame_url) { 92 const GURL& frame_url) {
93 called_check_safe_browsing_reputation_cnt_++; 93 called_check_safe_browsing_reputation_cnt_++;
94 } 94 }
95
96 void FakeContentPasswordManagerDriver::ShowManualFallback(
97 const autofill::PasswordForm& password_form) {
98 called_show_manual_fallback_cnt_++;
99 }
100
101 void FakeContentPasswordManagerDriver::HideManualFallback() {
102 called_show_manual_fallback_cnt_ = 0;
103 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698