Gallery: fix button animations.
[chromium-blink-merge.git] / chrome / app / kasko_client.h
blob9f3da7d7e5329cdd5156a55ae55fa88404858745
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_
8 #if defined(KASKO)
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.
18 class KaskoClient {
19 public:
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);
25 ~KaskoClient();
27 private:
28 DISALLOW_COPY_AND_ASSIGN(KaskoClient);
31 #endif // KASKO
33 #endif // CHROME_APP_KASKO_CLIENT_H_