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

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

Issue 25849004: Clean up unused constant globals (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix chrome/app/breakpad_linux.cc Created 7 years, 2 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 | Annotate | Revision Log
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 "remoting/host/server_log_entry.h" 5 #include "remoting/host/server_log_entry.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/strings/stringize_macros.h" 8 #include "base/strings/stringize_macros.h"
9 #include "base/sys_info.h" 9 #include "base/sys_info.h"
10 #include "remoting/base/constants.h" 10 #include "remoting/base/constants.h"
(...skipping 26 matching lines...) Expand all
37 37
38 const char kKeySessionState[] = "session-state"; 38 const char kKeySessionState[] = "session-state";
39 const char kValueSessionStateConnected[] = "connected"; 39 const char kValueSessionStateConnected[] = "connected";
40 const char kValueSessionStateClosed[] = "closed"; 40 const char kValueSessionStateClosed[] = "closed";
41 41
42 const char kStatusName[] = "status"; 42 const char kStatusName[] = "status";
43 const char kExitCodeName[] = "exit-code"; 43 const char kExitCodeName[] = "exit-code";
44 44
45 const char kKeyOsName[] = "os-name"; 45 const char kKeyOsName[] = "os-name";
46 46
47 #if defined(OS_WIN) || defined(OS_MACOSX) || defined(OS_CHROMEOS)
47 const char kKeyOsVersion[] = "os-version"; 48 const char kKeyOsVersion[] = "os-version";
49 #endif
48 50
49 const char kKeyHostVersion[] = "host-version"; 51 const char kKeyHostVersion[] = "host-version";
50 52
51 const char kKeyCpu[] = "cpu"; 53 const char kKeyCpu[] = "cpu";
52 54
53 const char kKeyConnectionType[] = "connection-type"; 55 const char kKeyConnectionType[] = "connection-type";
54 56
55 } // namespace 57 } // namespace
56 58
57 ServerLogEntry::ServerLogEntry() { 59 ServerLogEntry::ServerLogEntry() {
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 // static 162 // static
161 const char* ServerLogEntry::GetValueSessionState(bool connected) { 163 const char* ServerLogEntry::GetValueSessionState(bool connected) {
162 return connected ? kValueSessionStateConnected : kValueSessionStateClosed; 164 return connected ? kValueSessionStateConnected : kValueSessionStateClosed;
163 } 165 }
164 166
165 void ServerLogEntry::Set(const std::string& key, const std::string& value) { 167 void ServerLogEntry::Set(const std::string& key, const std::string& value) {
166 values_map_[key] = value; 168 values_map_[key] = value;
167 } 169 }
168 170
169 } // namespace remoting 171 } // namespace remoting
OLDNEW
« no previous file with comments | « net/websockets/websocket_basic_stream_test.cc ('k') | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698