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

Side by Side Diff: content/browser/tracing/power_tracing_agent.cc

Issue 2390893002: [BattOr] Make BattOr able to return firmware version. (Closed)
Patch Set: fix compiling error Created 4 years, 1 month 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
« no previous file with comments | « content/browser/tracing/power_tracing_agent.h ('k') | tools/battor_agent/battor_agent.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/bind.h" 5 #include "base/bind.h"
6 #include "base/lazy_instance.h" 6 #include "base/lazy_instance.h"
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "base/threading/thread_task_runner_handle.h" 8 #include "base/threading/thread_task_runner_handle.h"
9 #include "base/trace_event/trace_event_impl.h" 9 #include "base/trace_event/trace_event_impl.h"
10 #include "content/browser/tracing/power_tracing_agent.h" 10 #include "content/browser/tracing/power_tracing_agent.h"
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 174
175 record_clock_sync_marker_callback_.Reset(); 175 record_clock_sync_marker_callback_.Reset();
176 record_clock_sync_marker_sync_id_ = std::string(); 176 record_clock_sync_marker_sync_id_ = std::string();
177 record_clock_sync_marker_start_time_ = base::TimeTicks(); 177 record_clock_sync_marker_start_time_ = base::TimeTicks();
178 } 178 }
179 179
180 bool PowerTracingAgent::SupportsExplicitClockSync() { 180 bool PowerTracingAgent::SupportsExplicitClockSync() {
181 return battor_agent_->SupportsExplicitClockSync(); 181 return battor_agent_->SupportsExplicitClockSync();
182 } 182 }
183 183
184 void PowerTracingAgent::OnGetFirmwareGitHashComplete(
185 const std::string& version, battor::BattOrError error) {
186 return;
187 }
188
184 } // namespace content 189 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/tracing/power_tracing_agent.h ('k') | tools/battor_agent/battor_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698