| OLD | NEW |
| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 READ_SET_GAIN_ACK, | 105 READ_SET_GAIN_ACK, |
| 106 SEND_START_TRACING, | 106 SEND_START_TRACING, |
| 107 READ_START_TRACING_ACK, | 107 READ_START_TRACING_ACK, |
| 108 | 108 |
| 109 // Actions required for stopping tracing. | 109 // Actions required for stopping tracing. |
| 110 SEND_EEPROM_REQUEST, | 110 SEND_EEPROM_REQUEST, |
| 111 READ_EEPROM, | 111 READ_EEPROM, |
| 112 SEND_SAMPLES_REQUEST, | 112 SEND_SAMPLES_REQUEST, |
| 113 READ_CALIBRATION_FRAME, | 113 READ_CALIBRATION_FRAME, |
| 114 READ_DATA_FRAME, | 114 READ_DATA_FRAME, |
| 115 RESET, |
| 115 | 116 |
| 116 // Actions required for recording a clock sync marker. | 117 // Actions required for recording a clock sync marker. |
| 117 SEND_CURRENT_SAMPLE_REQUEST, | 118 SEND_CURRENT_SAMPLE_REQUEST, |
| 118 READ_CURRENT_SAMPLE, | 119 READ_CURRENT_SAMPLE, |
| 119 | 120 |
| 120 // Actions required for returning firmware git hash. | 121 // Actions required for returning firmware git hash. |
| 121 SEND_GIT_HASH_REQUEST, | 122 SEND_GIT_HASH_REQUEST, |
| 122 READ_GIT_HASH, | 123 READ_GIT_HASH, |
| 123 }; | 124 }; |
| 124 | 125 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 193 | 194 |
| 194 // The git hash of the BattOr firmware. | 195 // The git hash of the BattOr firmware. |
| 195 std::string firmware_git_hash_; | 196 std::string firmware_git_hash_; |
| 196 | 197 |
| 197 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); | 198 DISALLOW_COPY_AND_ASSIGN(BattOrAgent); |
| 198 }; | 199 }; |
| 199 | 200 |
| 200 } // namespace battor | 201 } // namespace battor |
| 201 | 202 |
| 202 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ | 203 #endif // TOOLS_BATTOR_AGENT_BATTOR_AGENT_H_ |
| OLD | NEW |