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

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

Issue 2914173002: Removing file_thread_task_runner parameter from SerialIoHandler (Closed)
Patch Set: removed unused variable Created 3 years, 6 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
« no previous file with comments | « extensions/browser/api/serial/serial_connection.cc ('k') | tools/battor_agent/battor_agent.cc » ('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 #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"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 virtual void OnStopTracingComplete(const std::string& trace, 44 virtual void OnStopTracingComplete(const std::string& trace,
45 BattOrError error) = 0; 45 BattOrError error) = 0;
46 virtual void OnRecordClockSyncMarkerComplete(BattOrError error) = 0; 46 virtual void OnRecordClockSyncMarkerComplete(BattOrError error) = 0;
47 virtual void OnGetFirmwareGitHashComplete(const std::string& version, 47 virtual void OnGetFirmwareGitHashComplete(const std::string& version,
48 BattOrError error) = 0; 48 BattOrError error) = 0;
49 }; 49 };
50 50
51 BattOrAgent( 51 BattOrAgent(
52 const std::string& path, 52 const std::string& path,
53 Listener* listener, 53 Listener* listener,
54 scoped_refptr<base::SingleThreadTaskRunner> file_thread_task_runner,
55 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner); 54 scoped_refptr<base::SingleThreadTaskRunner> ui_thread_task_runner);
56 virtual ~BattOrAgent(); 55 virtual ~BattOrAgent();
57 56
58 void StartTracing(); 57 void StartTracing();
59 void StopTracing(); 58 void StopTracing();
60 void RecordClockSyncMarker(const std::string& marker); 59 void RecordClockSyncMarker(const std::string& marker);
61 void GetFirmwareGitHash(); 60 void GetFirmwareGitHash();
62 61
63 // Returns whether the BattOr is able to record clock sync markers in its own 62 // Returns whether the BattOr is able to record clock sync markers in its own
64 // trace log. 63 // trace log.
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 192
194 // The git hash of the BattOr firmware. 193 // The git hash of the BattOr firmware.
195 std::string firmware_git_hash_; 194 std::string firmware_git_hash_;
196 195
197 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); 196 DISALLOW_COPY_AND_ASSIGN(BattOrAgent);
198 }; 197 };
199 198
200 } // namespace battor 199 } // namespace battor
201 200
202 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ 201 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/api/serial/serial_connection.cc ('k') | tools/battor_agent/battor_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698