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.
5 #ifndef CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_
6 #define CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_
8 #include "base/memory/ref_counted.h"
10 class TaskManagerModel
;
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
);
25 #endif // CHROME_BROWSER_CAPS_GENERATE_STATE_JSON_H_