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

Unified Diff: base/debug/trace_event.cc

Issue 8915024: Retry 114494 - Remove BindStateHolder and have Bind() return a Callback<> object directly." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 9 years 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 | « base/debug/trace_event.h ('k') | base/debug/trace_event_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/debug/trace_event.cc
diff --git a/base/debug/trace_event.cc b/base/debug/trace_event.cc
index 3c1bd5c5cee9f5c463bbe55a887be3ff556fbd13..969af1cfc6d13af348dfa9cf3498433a230c11e6 100644
--- a/base/debug/trace_event.cc
+++ b/base/debug/trace_event.cc
@@ -298,7 +298,8 @@ TraceResultBuffer::TraceResultBuffer() : append_comma_(false) {
TraceResultBuffer::~TraceResultBuffer() {
}
-void TraceResultBuffer::SetOutputCallback(OutputCallback json_chunk_callback) {
+void TraceResultBuffer::SetOutputCallback(
+ const OutputCallback& json_chunk_callback) {
output_callback_ = json_chunk_callback;
}
« no previous file with comments | « base/debug/trace_event.h ('k') | base/debug/trace_event_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698