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

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

Issue 112433004: Update uses of UTF conversions in chrome_frame/, chromeos/, components/ to use the base:: namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 12 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 #include <ostream> 5 #include <ostream>
6 6
7 #include "base/strings/string16.h" 7 #include "base/strings/string16.h"
8 #include "base/strings/utf_string_conversions.h" 8 #include "base/strings/utf_string_conversions.h"
9 #include "components/autofill/core/common/password_form.h" 9 #include "components/autofill/core/common/password_form.h"
10 10
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 bool PasswordForm::operator!=(const PasswordForm& form) const { 52 bool PasswordForm::operator!=(const PasswordForm& form) const {
53 return !operator==(form); 53 return !operator==(form);
54 } 54 }
55 55
56 std::ostream& operator<<(std::ostream& os, const PasswordForm& form) { 56 std::ostream& operator<<(std::ostream& os, const PasswordForm& form) {
57 return os << "scheme: " << form.scheme 57 return os << "scheme: " << form.scheme
58 << " signon_realm: " << form.signon_realm 58 << " signon_realm: " << form.signon_realm
59 << " origin: " << form.origin 59 << " origin: " << form.origin
60 << " action: " << form.action 60 << " action: " << form.action
61 << " submit_element: " << UTF16ToUTF8(form.submit_element) 61 << " submit_element: " << base::UTF16ToUTF8(form.submit_element)
62 << " username_elem: " << UTF16ToUTF8(form.username_element) 62 << " username_elem: " << base::UTF16ToUTF8(form.username_element)
63 << " username_value: " << UTF16ToUTF8(form.username_value) 63 << " username_value: " << base::UTF16ToUTF8(form.username_value)
64 << " password_elem: " << UTF16ToUTF8(form.password_element) 64 << " password_elem: " << base::UTF16ToUTF8(form.password_element)
65 << " password_value: " << UTF16ToUTF8(form.password_value) 65 << " password_value: " << base::UTF16ToUTF8(form.password_value)
66 << " old_password_element: " 66 << " old_password_element: "
67 << UTF16ToUTF8(form.old_password_element) 67 << base::UTF16ToUTF8(form.old_password_element)
68 << " old_password_value: " << UTF16ToUTF8(form.old_password_value) 68 << " old_password_value: "
69 << base::UTF16ToUTF8(form.old_password_value)
69 << " autocomplete_set:" << form.password_autocomplete_set 70 << " autocomplete_set:" << form.password_autocomplete_set
70 << " blacklisted: " << form.blacklisted_by_user 71 << " blacklisted: " << form.blacklisted_by_user
71 << " preferred: " << form.preferred 72 << " preferred: " << form.preferred
72 << " ssl_valid: " << form.ssl_valid 73 << " ssl_valid: " << form.ssl_valid
73 << " date_created: " << form.date_created.ToDoubleT() 74 << " date_created: " << form.date_created.ToDoubleT()
74 << " type: " << form.type 75 << " type: " << form.type
75 << " times_used: " << form.times_used 76 << " times_used: " << form.times_used
76 << " form_data: " << form.form_data; 77 << " form_data: " << form.form_data;
77 } 78 }
78 79
79 } // namespace autofill 80 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698