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

Side by Side Diff: components/autofill/core/common/password_form.h

Issue 399573002: [Password Generation] Trigger confirmation bubble when a password is saved (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Comments Created 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 5 #ifndef COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 6 #define COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 202 matching lines...) Expand 10 before | Expand all | Expand 10 after
213 bool operator==(const PasswordForm& form) const; 213 bool operator==(const PasswordForm& form) const;
214 bool operator!=(const PasswordForm& form) const; 214 bool operator!=(const PasswordForm& form) const;
215 215
216 PasswordForm(); 216 PasswordForm();
217 ~PasswordForm(); 217 ~PasswordForm();
218 }; 218 };
219 219
220 // Map username to PasswordForm* for convenience. See password_form_manager.h. 220 // Map username to PasswordForm* for convenience. See password_form_manager.h.
221 typedef std::map<base::string16, PasswordForm*> PasswordFormMap; 221 typedef std::map<base::string16, PasswordForm*> PasswordFormMap;
222 222
223 typedef std::map<base::string16, const PasswordForm*> ConstPasswordFormMap;
224
223 // For testing. 225 // For testing.
224 std::ostream& operator<<(std::ostream& os, 226 std::ostream& operator<<(std::ostream& os,
225 const autofill::PasswordForm& form); 227 const autofill::PasswordForm& form);
226 228
227 } // namespace autofill 229 } // namespace autofill
228 230
229 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__ 231 #endif // COMPONENTS_AUTOFILL_CORE_COMMON_PASSWORD_FORM_H__
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698