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

Unified Diff: content/browser/tracing/tracing_controller_impl.h

Issue 2143033004: Change TraceDataEndPoint::ReceiveTraceChunk() to accept unique_ptr<string> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: now use unique_ptr Created 4 years, 5 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: content/browser/tracing/tracing_controller_impl.h
diff --git a/content/browser/tracing/tracing_controller_impl.h b/content/browser/tracing/tracing_controller_impl.h
index 7d769e97794361b943f0f9ab099dc473df647f07..818f1d5f1fcf681e294c4edca249056f448ee295 100644
--- a/content/browser/tracing/tracing_controller_impl.h
+++ b/content/browser/tracing/tracing_controller_impl.h
@@ -37,7 +37,7 @@ class TracingUI;
class CONTENT_EXPORT TraceDataEndpoint
: public base::RefCountedThreadSafe<TraceDataEndpoint> {
public:
- virtual void ReceiveTraceChunk(const std::string& chunk) {}
+ virtual void ReceiveTraceChunk(std::unique_ptr<std::string> chunk) {}
virtual void ReceiveTraceFinalContents(
std::unique_ptr<const base::DictionaryValue> metadata) {}

Powered by Google App Engine
This is Rietveld 408576698