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

Unified Diff: remoting/host/server_log_entry.cc

Issue 24579003: Clean up remaining unused globals (on mac). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: staticmedia Created 7 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/service_urls.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/host/server_log_entry.cc
diff --git a/remoting/host/server_log_entry.cc b/remoting/host/server_log_entry.cc
index b13f6c667b2e06289826c819c0ea682fd7a6262e..8ef8e49cf00675c695b8c957e7c3654f5654afaf 100644
--- a/remoting/host/server_log_entry.cc
+++ b/remoting/host/server_log_entry.cc
@@ -43,10 +43,6 @@ const char kStatusName[] = "status";
const char kExitCodeName[] = "exit-code";
const char kKeyOsName[] = "os-name";
-const char kValueOsNameWindows[] = "Windows";
-const char kValueOsNameLinux[] = "Linux";
-const char kValueOsNameMac[] = "Mac";
-const char kValueOsNameChromeOS[] = "ChromeOS";
const char kKeyOsVersion[] = "os-version";
@@ -102,13 +98,13 @@ scoped_ptr<ServerLogEntry> ServerLogEntry::MakeForHostStatus(
void ServerLogEntry::AddHostFields() {
#if defined(OS_WIN)
- Set(kKeyOsName, kValueOsNameWindows);
+ Set(kKeyOsName, "Windows");
#elif defined(OS_MACOSX)
- Set(kKeyOsName, kValueOsNameMac);
+ Set(kKeyOsName, "Mac");
#elif defined(OS_CHROMEOS)
- Set(kKeyOsName, kValueOsNameChromeOS);
+ Set(kKeyOsName, "ChromeOS");
#elif defined(OS_LINUX)
- Set(kKeyOsName, kValueOsNameLinux);
+ Set(kKeyOsName, "Linux");
#endif
// SysInfo::OperatingSystemVersionNumbers is only defined for the following
« no previous file with comments | « remoting/host/remoting_me2me_host.cc ('k') | remoting/host/service_urls.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698