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

Side by Side Diff: chrome/renderer/autofill/fake_content_password_manager_driver.cc

Issue 2833193002: Trigger Password Protection ping on username/password field on focus (Closed)
Patch Set: nit Created 3 years, 7 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 FakeContentPasswordManagerDriver::FakeContentPasswordManagerDriver() {} 7 FakeContentPasswordManagerDriver::FakeContentPasswordManagerDriver() {}
8 8
9 FakeContentPasswordManagerDriver::~FakeContentPasswordManagerDriver() {} 9 FakeContentPasswordManagerDriver::~FakeContentPasswordManagerDriver() {}
10 10
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 const std::string& log) { 71 const std::string& log) {
72 called_record_save_progress_ = true; 72 called_record_save_progress_ = true;
73 } 73 }
74 74
75 void FakeContentPasswordManagerDriver::SaveGenerationFieldDetectedByClassifier( 75 void FakeContentPasswordManagerDriver::SaveGenerationFieldDetectedByClassifier(
76 const autofill::PasswordForm& password_form, 76 const autofill::PasswordForm& password_form,
77 const base::string16& generation_field) { 77 const base::string16& generation_field) {
78 called_save_generation_field_ = true; 78 called_save_generation_field_ = true;
79 save_generation_field_ = generation_field; 79 save_generation_field_ = generation_field;
80 } 80 }
81
82 void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation(
83 const GURL& form_action,
84 const GURL& frame_url) {
85 called_check_safe_browsing_reputation_cnt_++;
86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698