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

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

Issue 1526883005: [Tracing Clock Sync] Implement clock sync in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review fix Created 5 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
Index: content/browser/tracing/power_tracing_agent.h
diff --git a/content/browser/tracing/power_tracing_agent.h b/content/browser/tracing/power_tracing_agent.h
index d72b1cb3f57c17d4016b415decaaa635eb6fd33e..e690faff895bcba15941dedd2c98e58cb9097d96 100644
--- a/content/browser/tracing/power_tracing_agent.h
+++ b/content/browser/tracing/power_tracing_agent.h
@@ -48,10 +48,14 @@ class PowerTracingAgent : public base::trace_event::TracingAgent {
void OnStopTracingDone(const StopAgentTracingCallback& callback,
const scoped_refptr<base::RefCountedString>& result);
+ void TraceOnThread();
void FlushOnThread(const StopAgentTracingCallback& callback);
+ void RecordClockSyncMarkerOnThread(
+ int sync_id,
+ const RecordClockSyncMarkerCallback& callback);
+ base::Thread thread_;
scoped_ptr<BattorPowerTraceProvider> battor_trace_provider_;
- bool is_tracing_;
DISALLOW_COPY_AND_ASSIGN(PowerTracingAgent);
};

Powered by Google App Engine
This is Rietveld 408576698