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

Side by Side Diff: base/trace_event/tracing_agent.cc

Issue 1468173003: [Tracing Clock Sync] Add TracingAgent interface in Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix compile failure for cros 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "base/trace_event/tracing_agent.h"
6
7 namespace base {
8 namespace trace_event {
9
10 const char TracingAgent::kChromeTracingAgentName[] = "chrome";
11 const char TracingAgent::kCrOSTracingAgentName[] = "cros";
12 const char TracingAgent::kETWTracingAgentName[] = "etw";
13 const char TracingAgent::kPowerTracingAgentName[] = "battor";
14
15 bool TracingAgent::SupportsExplicitClockSync() {
16 return false;
17 }
18
19 void TracingAgent::RecordClockSyncMarker(
20 scoped_ptr<base::DictionaryValue> marker) {
21 DCHECK(SupportsExplicitClockSync());
22 }
23
24 void TracingAgent::IssueClockSyncMarker() {
25 DCHECK(SupportsExplicitClockSync());
26 }
27
28
29 } // namespace trace_event
30 } // namespace base
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698