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

Unified Diff: base/unguessable_token.h

Issue 2353663003: Add base::UnguessableToken << operator (Closed)
Patch Set: Moved defn to .cc file. Created 4 years, 3 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 | « no previous file | base/unguessable_token.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/unguessable_token.h
diff --git a/base/unguessable_token.h b/base/unguessable_token.h
index 64b1868886f2f0d06c613efa79a1f84ceb7b3c59..07dd67fcfcb681573320aaa5573e180f870acb14 100644
--- a/base/unguessable_token.h
+++ b/base/unguessable_token.h
@@ -7,6 +7,7 @@
#include <stdint.h>
#include <string.h>
+#include <iosfwd>
#include <tuple>
#include "base/base_export.h"
@@ -94,6 +95,9 @@ struct UnguessableTokenHash {
}
};
+BASE_EXPORT std::ostream& operator<<(std::ostream& out,
danakj 2016/09/20 00:07:08 nit: order this beside (after) the class, before t
tguilbert 2016/09/20 00:50:34 Done.
+ const UnguessableToken& token);
+
} // namespace base
#endif // BASE_UNGUESSABLE_TOKEN_H_
« no previous file with comments | « no previous file | base/unguessable_token.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698