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

Side by Side Diff: components/password_manager/content/browser/content_password_manager_driver.h

Issue 2468833002: Count visible password fields on a page (Closed)
Patch Set: dcheng comments Created 4 years, 1 month 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
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_password_manager_driver.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 5 #ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_ 6 #define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRI VER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 void SaveGenerationFieldDetectedByClassifier( 115 void SaveGenerationFieldDetectedByClassifier(
116 const autofill::PasswordForm& password_form, 116 const autofill::PasswordForm& password_form,
117 const base::string16& generation_field) override; 117 const base::string16& generation_field) override;
118 118
119 void OnPasswordFormsParsedNoRenderCheck( 119 void OnPasswordFormsParsedNoRenderCheck(
120 const std::vector<autofill::PasswordForm>& forms); 120 const std::vector<autofill::PasswordForm>& forms);
121 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form); 121 void OnFocusedPasswordFormFound(const autofill::PasswordForm& password_form);
122 122
123 // blink::mojom::SensitiveInputVisibility: 123 // blink::mojom::SensitiveInputVisibility:
124 void PasswordFieldVisibleInInsecureContext() override; 124 void PasswordFieldVisibleInInsecureContext() override;
125 void AllPasswordFieldsInInsecureContextInvisible() override;
125 126
126 private: 127 private:
127 bool CheckChildProcessSecurityPolicy(const GURL& url, 128 bool CheckChildProcessSecurityPolicy(const GURL& url,
128 BadMessageReason reason); 129 BadMessageReason reason);
129 130
130 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent(); 131 const autofill::mojom::AutofillAgentPtr& GetAutofillAgent();
131 132
132 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent(); 133 const autofill::mojom::PasswordAutofillAgentPtr& GetPasswordAutofillAgent();
133 134
134 const autofill::mojom::PasswordGenerationAgentPtr& 135 const autofill::mojom::PasswordGenerationAgentPtr&
(...skipping 20 matching lines...) Expand all
155 sensitive_input_visibility_bindings_; 156 sensitive_input_visibility_bindings_;
156 157
157 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_; 158 base::WeakPtrFactory<ContentPasswordManagerDriver> weak_factory_;
158 159
159 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver); 160 DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
160 }; 161 };
161 162
162 } // namespace password_manager 163 } // namespace password_manager
163 164
164 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_ 165 #endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_ DRIVER_H_
OLDNEW
« no previous file with comments | « no previous file | components/password_manager/content/browser/content_password_manager_driver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698