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

Side by Side Diff: tools/battor_agent/battor_agent.h

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 years, 7 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 unified diff | Download patch
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 #ifndef TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 5 #ifndef TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
6 #define TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 6 #define TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/cancelable_callback.h" 10 #include "base/cancelable_callback.h"
11 #include "base/macros.h" 11 #include "base/macros.h"
12 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
13 #include "base/memory/weak_ptr.h" 13 #include "base/memory/weak_ptr.h"
14 #include "base/single_thread_task_runner.h"
14 #include "base/threading/thread_checker.h" 15 #include "base/threading/thread_checker.h"
15 #include "tools/battor_agent/battor_connection.h" 16 #include "tools/battor_agent/battor_connection.h"
16 #include "tools/battor_agent/battor_error.h" 17 #include "tools/battor_agent/battor_error.h"
17 18
18 namespace battor { 19 namespace battor {
19 20
20 // A BattOrAgent is a class used to asynchronously communicate with a BattOr for 21 // A BattOrAgent is a class used to asynchronously communicate with a BattOr for
21 // the purpose of collecting power samples. A BattOr is an external USB device 22 // the purpose of collecting power samples. A BattOr is an external USB device
22 // that's capable of recording accurate, high-frequency (2000Hz) power samples. 23 // that's capable of recording accurate, high-frequency (2000Hz) power samples.
23 // 24 //
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 195
195 // The git hash of the BattOr firmware. 196 // The git hash of the BattOr firmware.
196 std::string firmware_git_hash_; 197 std::string firmware_git_hash_;
197 198
198 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); 199 DISALLOW_COPY_AND_ASSIGN(BattOrAgent);
199 }; 200 };
200 201
201 } // namespace battor 202 } // namespace battor
202 203
203 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 204 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
OLDNEW
« no previous file with comments | « third_party/WebKit/public/platform/scheduler/test/mock_renderer_scheduler.h ('k') | tools/battor_agent/battor_agent_bin.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698