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

Side by Side Diff: shell/crash/breakpad_linux.h

Issue 1227333002: Add breakpad support to mojo shell apk. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Follow review Created 5 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 2013 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 // This file was forked from components/crash/app/breakpad_linux.h in chromium.
6
7 // Public interface for enabling Breakpad on Linux systems.
8
9 #ifndef COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_
viettrungluu 2015/07/27 20:28:36 Please update the include guards.
qsr 2015/07/28 08:46:23 Done.
10 #define COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_
11
12 #include <string>
viettrungluu 2015/07/27 20:28:36 This include doesn't appear to be needed.
qsr 2015/07/28 08:46:22 Done.
13
14 #include "base/files/file_path.h"
15 #include "build/build_config.h"
viettrungluu 2015/07/27 20:28:36 "
qsr 2015/07/28 08:46:22 Done.
16
17 namespace breakpad {
18
19 // Turns on the crash reporter.
20 extern void InitCrashReporter(const base::FilePath& dumps_path);
viettrungluu 2015/07/27 20:28:36 Why is this declared extern?
qsr 2015/07/28 08:46:22 Because I missed this from the place it has been f
21
22 // Checks if crash reporting is enabled.
23 bool IsCrashReporterEnabled();
24
25 } // namespace breakpad
26
27 #endif // COMPONENTS_CRASH_APP_BREAKPAD_LINUX_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698