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_APP_KASKO_CLIENT_H_
6 #define CHROME_APP_KASKO_CLIENT_H_
10 #include "base/macros.h"
11 #include "syzygy/kasko/api/minidump_type.h"
13 class ChromeWatcherClient
;
15 // Manages the lifetime of Chrome's Kasko client, which permits crash reporting
16 // via Kasko. Only a single instance of this class may be instantiated at any
17 // time, and it must only be destroyed when the process is single-threaded.
20 // Initializes a Kasko client that will communicate with the Kasko reporter
21 // hosted by the Chrome watcher process managed by |chrome_watcher_client|.
22 // All generated reports will use |minidump_type|.
23 KaskoClient(ChromeWatcherClient
* chrome_watcher_client
,
24 kasko::api::MinidumpType minidump_type
);
28 DISALLOW_COPY_AND_ASSIGN(KaskoClient
);
33 #endif // CHROME_APP_KASKO_CLIENT_H_