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

Side by Side Diff: remoting/host/host_details.cc

Issue 1547473005: Switch to standard integer types in remoting/host/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 | « remoting/host/host_config_unittest.cc ('k') | remoting/host/host_event_logger.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 "remoting/host/host_details.h" 5 #include "remoting/host/host_details.h"
6 6
7 #include "base/sys_info.h" 7 #include "base/sys_info.h"
8 #include "build/build_config.h"
8 9
9 #if defined(OS_LINUX) 10 #if defined(OS_LINUX)
10 #include "base/linux_util.h" 11 #include "base/linux_util.h"
11 #endif 12 #endif
12 13
13 namespace remoting { 14 namespace remoting {
14 15
15 // Get the host Operating System Name, removing the need to check for OS 16 // Get the host Operating System Name, removing the need to check for OS
16 // definitions and keeps the keys used consistant. 17 // definitions and keeps the keys used consistant.
17 std::string GetHostOperatingSystemName() { 18 std::string GetHostOperatingSystemName() {
(...skipping 12 matching lines...) Expand all
30 // definitions and keeps the format used consistant. 31 // definitions and keeps the format used consistant.
31 std::string GetHostOperatingSystemVersion() { 32 std::string GetHostOperatingSystemVersion() {
32 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS) 33 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
33 return base::SysInfo::OperatingSystemVersion(); 34 return base::SysInfo::OperatingSystemVersion();
34 #elif defined(OS_LINUX) 35 #elif defined(OS_LINUX)
35 return base::GetLinuxDistro(); 36 return base::GetLinuxDistro();
36 #endif 37 #endif
37 } 38 }
38 39
39 } // namespace remoting 40 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/host/host_config_unittest.cc ('k') | remoting/host/host_event_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698