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

Unified Diff: chrome/common/custom_handlers/protocol_handler.h

Issue 10559049: Add ToString method for easy DLOG and debug support (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Don't override << for debug string support. Created 8 years, 6 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
Index: chrome/common/custom_handlers/protocol_handler.h
diff --git a/chrome/common/custom_handlers/protocol_handler.h b/chrome/common/custom_handlers/protocol_handler.h
index 8417ae8bfe05856a57cdae3132c26c4266ca34a4..ff67d6c5e78e517ec2e269f10d02009e39b13bb3 100644
--- a/chrome/common/custom_handlers/protocol_handler.h
+++ b/chrome/common/custom_handlers/protocol_handler.h
@@ -54,6 +54,8 @@ class ProtocolHandler {
return protocol_.empty();
}
+ std::string ToString() const;
Peter Kasting 2012/06/22 22:10:06 Nit: Consider a comment about why we have this. A
Steve McKay 2012/06/22 22:40:01 Added a comment. Basically I pulled this out of a
+
bool operator==(const ProtocolHandler& other) const;
bool operator<(const ProtocolHandler& other) const;
« no previous file with comments | « no previous file | chrome/common/custom_handlers/protocol_handler.cc » ('j') | chrome/common/custom_handlers/protocol_handler.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698