OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2011 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 CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_ |
| 6 #define CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_ |
| 7 #pragma once |
| 8 |
| 9 class FilePath; |
| 10 |
| 11 namespace task_profiler { |
| 12 |
| 13 // This class collects task profiler data and serializes it to a file. The file |
| 14 // format is compatible with the about:profiler UI. |
| 15 class TaskProfilerDataSerializer { |
| 16 public: |
| 17 bool WriteToFile(const FilePath &path); |
| 18 }; |
| 19 |
| 20 } // namespace task_profiler |
| 21 |
| 22 #endif // CHROME_BROWSER_TASK_PROFILER_TASK_PROFILER_DATA_SERIALIZER_H_ |
OLD | NEW |