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

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: 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 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 const base::string16& generation_field) { 91 const base::string16& generation_field) {
92 called_save_generation_field_ = true; 92 called_save_generation_field_ = true;
93 save_generation_field_ = generation_field; 93 save_generation_field_ = generation_field;
94 } 94 }
95 95
96 void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation( 96 void FakeContentPasswordManagerDriver::CheckSafeBrowsingReputation(
97 const GURL& form_action, 97 const GURL& form_action,
98 const GURL& frame_url) { 98 const GURL& frame_url) {
99 called_check_safe_browsing_reputation_cnt_++; 99 called_check_safe_browsing_reputation_cnt_++;
100 } 100 }
101
102 void FakeContentPasswordManagerDriver::ShowManualFallbackForSaving(
103 const autofill::PasswordForm& password_form) {
104 called_show_manual_fallback_for_saving_count_++;
105 }
106
107 void FakeContentPasswordManagerDriver::HideManualFallbackForSaving() {
108 called_show_manual_fallback_for_saving_count_ = 0;
109 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698