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

Unified Diff: components/password_manager/core/browser/password_store.cc

Issue 2252053002: Add pretty-printing for PasswordStore::FormDigest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/password_manager/core/browser/password_store.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/password_manager/core/browser/password_store.cc
diff --git a/components/password_manager/core/browser/password_store.cc b/components/password_manager/core/browser/password_store.cc
index c53814eb6c9a7471b2cfcdda8daa70467c7adedb..74146690c3ec93361e63ee73969133df1ed2766e 100644
--- a/components/password_manager/core/browser/password_store.cc
+++ b/components/password_manager/core/browser/password_store.cc
@@ -677,4 +677,11 @@ void PasswordStore::DestroySyncableService() {
syncable_service_.reset();
}
+std::ostream& operator<<(std::ostream& os,
+ const PasswordStore::FormDigest& digest) {
+ return os << "FormDigest(scheme: " << digest.scheme
+ << ", signon_realm: " << digest.signon_realm
+ << ", origin: " << digest.origin << ")";
+}
+
} // namespace password_manager
« no previous file with comments | « components/password_manager/core/browser/password_store.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698