| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 #ifndef COMPONENTS_METRICS_LEAK_DETECTOR_GNU_BUILD_ID_READER_H_ |
| 6 #define COMPONENTS_METRICS_LEAK_DETECTOR_GNU_BUILD_ID_READER_H_ |
| 7 |
| 8 #include <stdint.h> |
| 9 |
| 10 #include <vector> |
| 11 |
| 12 namespace metrics { |
| 13 namespace leak_detector { |
| 14 namespace gnu_build_id_reader { |
| 15 |
| 16 // Reads the build ID from the GNU build notes and stores it in |*build_id|. |
| 17 // Returns true if it was successfully read, or false otherwise. |
| 18 bool ReadBuildID(std::vector<uint8_t>* build_id); |
| 19 |
| 20 } // namespace gnu_build_id_reader |
| 21 } // namespace leak_detector |
| 22 } // namespace metrics |
| 23 |
| 24 #endif // COMPONENTS_METRICS_LEAK_DETECTOR_GNU_BUILD_ID_READER_H_ |
| OLD | NEW |