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

Side by Side Diff: chrome/browser/google/google_update_settings_posix.cc

Issue 1416133003: Crashpad Windows: Use the Crashpad client instead of Breakpad on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add some stub gn files Created 5 years 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 | « chrome/browser/crash_upload_list_win.cc ('k') | chrome/chrome_browser.gypi » ('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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/installer/util/google_update_settings.h" 5 #include "chrome/installer/util/google_update_settings.h"
6 6
7 #include "base/files/file_util.h" 7 #include "base/files/file_util.h"
8 #include "base/lazy_instance.h" 8 #include "base/lazy_instance.h"
9 #include "base/path_service.h" 9 #include "base/path_service.h"
10 #include "base/strings/string_util.h" 10 #include "base/strings/string_util.h"
11 #include "base/strings/utf_string_conversions.h" 11 #include "base/strings/utf_string_conversions.h"
12 #include "base/synchronization/lock.h" 12 #include "base/synchronization/lock.h"
13 #include "chrome/common/chrome_paths.h" 13 #include "chrome/common/chrome_paths.h"
14 14
15 #if defined(OS_MACOSX) 15 #if defined(OS_MACOSX)
16 #include "components/crash/content/app/crashpad_mac.h" 16 #include "components/crash/content/app/crashpad.h"
17 #endif 17 #endif
18 18
19 namespace { 19 namespace {
20 20
21 base::LazyInstance<std::string>::Leaky g_posix_client_id = 21 base::LazyInstance<std::string>::Leaky g_posix_client_id =
22 LAZY_INSTANCE_INITIALIZER; 22 LAZY_INSTANCE_INITIALIZER;
23 base::LazyInstance<base::Lock>::Leaky g_posix_client_id_lock = 23 base::LazyInstance<base::Lock>::Leaky g_posix_client_id_lock =
24 LAZY_INSTANCE_INITIALIZER; 24 LAZY_INSTANCE_INITIALIZER;
25 25
26 // File name used in the user data dir to indicate consent. 26 // File name used in the user data dir to indicate consent.
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 // static 127 // static
128 int GoogleUpdateSettings::GetLastRunTime() { 128 int GoogleUpdateSettings::GetLastRunTime() {
129 return -1; 129 return -1;
130 } 130 }
131 131
132 // static 132 // static
133 bool GoogleUpdateSettings::SetLastRunTime() { 133 bool GoogleUpdateSettings::SetLastRunTime() {
134 return false; 134 return false;
135 } 135 }
OLDNEW
« no previous file with comments | « chrome/browser/crash_upload_list_win.cc ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698