| Index: content/public/browser/background_tracing_manager.h
|
| diff --git a/content/public/browser/background_tracing_manager.h b/content/public/browser/background_tracing_manager.h
|
| index 75e2d340cd8d46bb96dda3ced749ee7ef25e0acb..3454d06279424deaebd896a61741e8bec603cafb 100644
|
| --- a/content/public/browser/background_tracing_manager.h
|
| +++ b/content/public/browser/background_tracing_manager.h
|
| @@ -23,13 +23,15 @@ class BackgroundTracingManager {
|
|
|
| // ReceiveCallback will will be called on the UI thread every time the
|
| // BackgroundTracingManager finalizes a trace. The first parameter of
|
| - // this callback is the trace data. The second is a callback to
|
| + // this callback is the trace data. The second is metadata that was
|
| + // generated and embedded into the trace. The third is a callback to
|
| // notify the BackgroundTracingManager that you've finished processing
|
| // the trace data.
|
| //
|
| // Example:
|
| //
|
| - // void Upload(const base::RefCountedString* data,
|
| + // void Upload(const scoped_refptr<base::RefCountedString>& data,
|
| + // scoped_ptr<base::DictionaryValue>,
|
| // base::Closure done_callback) {
|
| // BrowserThread::PostTaskAndReply(
|
| // BrowserThread::FILE,
|
| @@ -40,6 +42,7 @@ class BackgroundTracingManager {
|
| // }
|
| //
|
| typedef base::Callback<void(const scoped_refptr<base::RefCountedString>&,
|
| + scoped_ptr<base::DictionaryValue>,
|
| base::Closure)> ReceiveCallback;
|
|
|
| // Set the triggering rules for when to start recording.
|
|
|