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 "build/build_config.h" |
13 #include "chrome/common/chrome_paths.h" | 14 #include "chrome/common/chrome_paths.h" |
14 | 15 |
15 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
16 #include "components/crash/content/app/crashpad.h" | 17 #include "components/crash/content/app/crashpad.h" |
17 #endif | 18 #endif |
18 | 19 |
19 namespace { | 20 namespace { |
20 | 21 |
21 base::LazyInstance<std::string>::Leaky g_posix_client_id = | 22 base::LazyInstance<std::string>::Leaky g_posix_client_id = |
22 LAZY_INSTANCE_INITIALIZER; | 23 LAZY_INSTANCE_INITIALIZER; |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 | 127 |
127 // static | 128 // static |
128 int GoogleUpdateSettings::GetLastRunTime() { | 129 int GoogleUpdateSettings::GetLastRunTime() { |
129 return -1; | 130 return -1; |
130 } | 131 } |
131 | 132 |
132 // static | 133 // static |
133 bool GoogleUpdateSettings::SetLastRunTime() { | 134 bool GoogleUpdateSettings::SetLastRunTime() { |
134 return false; | 135 return false; |
135 } | 136 } |
OLD | NEW |