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

Side by Side Diff: blimp/engine/app/blimp_engine_crash_reporter_client.h

Issue 2629743003: Remove all blimp engine code (Closed)
Patch Set: Use consistent comment style in //chrome Created 3 years, 11 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 2016 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 BLIMP_ENGINE_APP_BLIMP_ENGINE_CRASH_REPORTER_CLIENT_H_
6 #define BLIMP_ENGINE_APP_BLIMP_ENGINE_CRASH_REPORTER_CLIENT_H_
7
8 #include <stddef.h>
9
10 #include <string>
11
12 #include "base/macros.h"
13 #include "components/crash/content/app/crash_reporter_client.h"
14
15 namespace blimp {
16 namespace engine {
17
18 // Crash reporter client for the Blimp engine. This will always collect crash
19 // reports, and will always upload reports unless running in a "headless" test
20 // mode.
21 // This is intended to be built with a Linux OS target only.
22 class BlimpEngineCrashReporterClient
23 : public crash_reporter::CrashReporterClient {
24 public:
25 BlimpEngineCrashReporterClient();
26 ~BlimpEngineCrashReporterClient() override;
27
28 private:
29 // CrashReporterClient implementation.
30 void SetCrashReporterClientIdFromGUID(
31 const std::string& client_guid) override;
32 void GetProductNameAndVersion(const char** product_name,
33 const char** version) override;
34 size_t RegisterCrashKeys() override;
35 bool IsRunningUnattended() override;
36 bool GetCollectStatsConsent() override;
37 bool EnableBreakpadForProcess(const std::string& process_type) override;
38
39 DISALLOW_COPY_AND_ASSIGN(BlimpEngineCrashReporterClient);
40 };
41
42 } // namespace engine
43 } // namespace blimp
44
45 #endif // BLIMP_ENGINE_APP_BLIMP_ENGINE_CRASH_REPORTER_CLIENT_H_
OLDNEW
« no previous file with comments | « blimp/engine/app/blimp_engine_crash_keys.cc ('k') | blimp/engine/app/blimp_engine_crash_reporter_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698