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

Side by Side Diff: base/sys_info_chromeos.cc

Issue 16120002: drop unused execinfo.h header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "base/sys_info.h" 5 #include "base/sys_info.h"
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/lazy_instance.h" 10 #include "base/lazy_instance.h"
11 #include "base/strings/string_number_conversions.h" 11 #include "base/strings/string_number_conversions.h"
12 #include "base/strings/string_piece.h" 12 #include "base/strings/string_piece.h"
13 #include "base/strings/string_tokenizer.h" 13 #include "base/strings/string_tokenizer.h"
14 #include "base/threading/thread_restrictions.h" 14 #include "base/threading/thread_restrictions.h"
15 15
16 #include <execinfo.h>
17
18 namespace base { 16 namespace base {
19 17
20 static const char* kLinuxStandardBaseVersionKeys[] = { 18 static const char* kLinuxStandardBaseVersionKeys[] = {
21 "CHROMEOS_RELEASE_VERSION", 19 "CHROMEOS_RELEASE_VERSION",
22 "GOOGLE_RELEASE", 20 "GOOGLE_RELEASE",
23 "DISTRIB_RELEASE", 21 "DISTRIB_RELEASE",
24 NULL 22 NULL
25 }; 23 };
26 24
27 const char kLinuxStandardBaseReleaseFile[] = "/etc/lsb-release"; 25 const char kLinuxStandardBaseReleaseFile[] = "/etc/lsb-release";
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 110 }
113 } 111 }
114 } 112 }
115 113
116 // static 114 // static
117 FilePath SysInfo::GetLsbReleaseFilePath() { 115 FilePath SysInfo::GetLsbReleaseFilePath() {
118 return FilePath(kLinuxStandardBaseReleaseFile); 116 return FilePath(kLinuxStandardBaseReleaseFile);
119 } 117 }
120 118
121 } // namespace base 119 } // namespace base
OLDNEW
« no previous file with comments | « base/debug/debugger_posix.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698