Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(201)

Side by Side Diff: chrome/app/kasko_client.h

Issue 2256723002: Fix SyzyASAN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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_APP_KASKO_CLIENT_H_
6 #define CHROME_APP_KASKO_CLIENT_H_
7
8 #include "third_party/kasko/kasko_features.h"
9
10 #if BUILDFLAG(ENABLE_KASKO)
11
12 #include "base/macros.h"
13 #include "syzygy/kasko/api/minidump_type.h"
14
15 class ChromeWatcherClient;
16
17 // Manages the lifetime of Chrome's Kasko client, which permits crash reporting
18 // via Kasko. Only a single instance of this class may be instantiated at any
19 // time, and it must only be destroyed when the process is single-threaded.
20 class KaskoClient {
21 public:
22 // Initializes a Kasko client that will communicate with the Kasko reporter
23 // hosted by the Chrome watcher process managed by |chrome_watcher_client|.
24 // All generated reports will use |minidump_type|.
25 KaskoClient(ChromeWatcherClient* chrome_watcher_client,
26 kasko::api::MinidumpType minidump_type);
27 ~KaskoClient();
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(KaskoClient);
31 };
32
33 #endif // BUILDFLAG(ENABLE_KASKO)
34
35 #endif // CHROME_APP_KASKO_CLIENT_H_
OLDNEW
« chrome/BUILD.gn ('K') | « chrome/BUILD.gn ('k') | chrome/app/kasko_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698