| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |