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

Side by Side Diff: chromecast/app/linux/cast_crash_reporter_client.cc

Issue 1315303004: Turn components/crash into a layered component. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 3 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
« no previous file with comments | « chromecast/app/linux/cast_crash_reporter_client.h ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chromecast/app/linux/cast_crash_reporter_client.h" 5 #include "chromecast/app/linux/cast_crash_reporter_client.h"
6 6
7 #include "base/time/time.h" 7 #include "base/time/time.h"
8 #include "chromecast/base/error_codes.h" 8 #include "chromecast/base/error_codes.h"
9 #include "chromecast/crash/linux/crash_util.h" 9 #include "chromecast/crash/linux/crash_util.h"
10 #include "components/crash/app/breakpad_linux.h" 10 #include "components/crash/content/app/breakpad_linux.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 12
13 namespace chromecast { 13 namespace chromecast {
14 14
15 namespace { 15 namespace {
16 16
17 std::string* g_process_type = nullptr; 17 std::string* g_process_type = nullptr;
18 uint64_t g_process_start_time_ms = 0u; 18 uint64_t g_process_start_time_ms = 0u;
19 19
20 } // namespace 20 } // namespace
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 CrashUtil::RequestUploadCrashDump(crashdump_filename, 68 CrashUtil::RequestUploadCrashDump(crashdump_filename,
69 GetProcessType() ? GetProcessType() : "", 69 GetProcessType() ? GetProcessType() : "",
70 GetProcessStartTime()); 70 GetProcessStartTime());
71 71
72 // Always return true to indicate that this crash dump has been processed, 72 // Always return true to indicate that this crash dump has been processed,
73 // so that it won't fallback to use chrome's default uploader. 73 // so that it won't fallback to use chrome's default uploader.
74 return true; 74 return true;
75 } 75 }
76 76
77 } // namespace chromecast 77 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/app/linux/cast_crash_reporter_client.h ('k') | chromecast/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698