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

Unified Diff: public/platform/WebDataConsumerHandle.h

Issue 1183373003: Add WebDataConsumerHandle::debugName() (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Use const char* Created 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebDataConsumerHandle.h
diff --git a/public/platform/WebDataConsumerHandle.h b/public/platform/WebDataConsumerHandle.h
index cba7e9746f4ebf8ed6cb0a4fd84bdc97ece00f89..3b86e4fd2e87b7a1f67bb3cd78f3038d220a9e3b 100644
--- a/public/platform/WebDataConsumerHandle.h
+++ b/public/platform/WebDataConsumerHandle.h
@@ -113,6 +113,9 @@ public:
PassOwnPtr<Reader> obtainReader(Client* client) { return adoptPtr(obtainReaderInternal(client)); }
#endif
+ // Returns a string literal (e.g. class name) for debugging only.
+ virtual const char* debugName() const { return "WebDataConsumerHandle"; }
+
private:
// The caller takes ownership of the returned object.
virtual Reader* obtainReaderInternal(Client* client)
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698