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

Side by Side Diff: chromecast/crash/breakpad_util.h

Issue 1154383006: Adding crash utilities to chromecast/crash. (Closed) Base URL: https://eureka-internal.googlesource.com/chromium/src@master
Patch Set: Corrected version hack in breakpad_util. Created 5 years, 6 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 CHROMECAST_INTERNAL_BREAKPAD_BREAKPAD_UTIL_H_
6 #define CHROMECAST_INTERNAL_BREAKPAD_BREAKPAD_UTIL_H_
7
8 #include <stdint.h>
9
10 #include <string>
11
12 namespace chromecast {
13
14 class BreakpadUtil {
15 public:
16 // Helper function to request upload an existing minidump file.
17 static void RequestUploadCrashDump(const std::string& existing_minidump_path,
18 const std::string& crashed_process_name,
19 uint64_t crashed_process_start_time_ms);
20
21 // Util function to get current time in ms. This is used to record
22 // crashed_process_start_time_ms in client side.
23 static uint64_t GetCurrentTimeMs();
24 };
25
26 } // namespace chromecast
27
28 #endif // CHROMECAST_INTERNAL_BREAKPAD_BREAKPAD_UTIL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698