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

Side by Side Diff: chrome/app/breakpad_linux.cc

Issue 2861070: Linux Official Build fix following r53113. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "chrome/app/breakpad_linux.h" 5 #include "chrome/app/breakpad_linux.h"
6 6
7 #include <fcntl.h> 7 #include <fcntl.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <sys/socket.h> 9 #include <sys/socket.h>
10 #include <sys/time.h> 10 #include <sys/time.h>
(...skipping 10 matching lines...) Expand all
21 #include "base/file_path.h" 21 #include "base/file_path.h"
22 #include "base/global_descriptors_posix.h" 22 #include "base/global_descriptors_posix.h"
23 #include "base/path_service.h" 23 #include "base/path_service.h"
24 #include "base/rand_util.h" 24 #include "base/rand_util.h"
25 #include "base/string_util.h" 25 #include "base/string_util.h"
26 #include "breakpad/src/client/linux/handler/exception_handler.h" 26 #include "breakpad/src/client/linux/handler/exception_handler.h"
27 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h" 27 #include "breakpad/src/client/linux/minidump_writer/directory_reader.h"
28 #include "breakpad/src/common/linux/linux_libc_support.h" 28 #include "breakpad/src/common/linux/linux_libc_support.h"
29 #include "breakpad/src/common/linux/linux_syscall_support.h" 29 #include "breakpad/src/common/linux/linux_syscall_support.h"
30 #include "breakpad/src/common/linux/memory.h" 30 #include "breakpad/src/common/linux/memory.h"
31 #include "chrome/app/chrome_version_info_posix.h"
32 #include "chrome/common/chrome_descriptors.h" 31 #include "chrome/common/chrome_descriptors.h"
33 #include "chrome/common/chrome_paths.h" 32 #include "chrome/common/chrome_paths.h"
34 #include "chrome/common/chrome_switches.h" 33 #include "chrome/common/chrome_switches.h"
34 #include "chrome/common/chrome_version_info_posix.h"
35 #include "chrome/common/env_vars.h" 35 #include "chrome/common/env_vars.h"
36 #include "chrome/installer/util/google_update_settings.h" 36 #include "chrome/installer/util/google_update_settings.h"
37 37
38 static const char kUploadURL[] = 38 static const char kUploadURL[] =
39 "https://clients2.google.com/cr/report"; 39 "https://clients2.google.com/cr/report";
40 40
41 static bool is_crash_reporter_enabled = false; 41 static bool is_crash_reporter_enabled = false;
42 static uint64_t uptime = 0; 42 static uint64_t uptime = 0;
43 43
44 // Writes the value |v| as 16 hex characters to the memory pointed at by 44 // Writes the value |v| as 16 hex characters to the memory pointed at by
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 struct timeval tv; 771 struct timeval tv;
772 if (!gettimeofday(&tv, NULL)) 772 if (!gettimeofday(&tv, NULL))
773 uptime = timeval_to_ms(&tv); 773 uptime = timeval_to_ms(&tv);
774 else 774 else
775 uptime = 0; 775 uptime = 0;
776 } 776 }
777 777
778 bool IsCrashReporterEnabled() { 778 bool IsCrashReporterEnabled() {
779 return is_crash_reporter_enabled; 779 return is_crash_reporter_enabled;
780 } 780 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698