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

Unified Diff: src/platform/crash/user_collector.cc

Issue 2128004: Adding in-process crash dumping library and crash uploader (Closed) Base URL: ssh://git@chromiumos-git//chromeos
Patch Set: respond to review and add another test Created 10 years, 7 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/platform/crash/crash_sender.hourly ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/platform/crash/user_collector.cc
diff --git a/src/platform/crash/user_collector.cc b/src/platform/crash/user_collector.cc
index 9c6fd0bc039bd25f827b40092e269b7e608737c3..7033ada1133c586c9b5f30988bc542a8bd4cca05 100644
--- a/src/platform/crash/user_collector.cc
+++ b/src/platform/crash/user_collector.cc
@@ -57,7 +57,8 @@ bool UserCollector::SetUpInternal(bool enabled) {
std::string pattern = GetPattern(enabled);
if (file_util::WriteFile(FilePath(core_pattern_file_),
pattern.c_str(),
- pattern.length()) != pattern.length()) {
+ pattern.length()) !=
+ static_cast<int>(pattern.length())) {
logger_->LogError("Unable to write %s", core_pattern_file_.c_str());
return false;
}
« no previous file with comments | « src/platform/crash/crash_sender.hourly ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698