OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_ | |
6 #define CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_ | |
7 | |
8 #include "base/memory/ref_counted.h" | |
9 | |
10 class TaskManagerModel; | |
11 | |
12 namespace base { | |
13 class File; | |
14 } | |
15 | |
16 namespace caps { | |
17 | |
18 // Creates a JSON stream with the browser and system state and | |
19 // sends it to |file| which in practice is a pipe. | |
20 void GenerateStateJSON( | |
21 scoped_refptr<TaskManagerModel> model, base::File file); | |
22 | |
23 } | |
24 | |
25 #endif // CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_ | |
OLD | NEW |