[Media Router] Add integration tests and e2e tests for media router and presentation...
[chromium-blink-merge.git] / chrome / browser / caps / generate_state_json.h
blob3ce00524bbbb317fa9791fdc3ab74c7fc32cbde7
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;
12 namespace base {
13 class File;
16 namespace caps {
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_