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

Side by Side Diff: remoting/client/server_log_entry_client.cc

Issue 390983003: Remove remoting/jingle_glue (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/client/server_log_entry_client.h" 5 #include "remoting/client/server_log_entry_client.h"
6 6
7 #include "base/strings/string_number_conversions.h" 7 #include "base/strings/string_number_conversions.h"
8 #include "base/strings/stringize_macros.h" 8 #include "base/strings/stringize_macros.h"
9 #include "base/strings/stringprintf.h" 9 #include "base/strings/stringprintf.h"
10 #include "base/sys_info.h" 10 #include "base/sys_info.h"
11 #include "remoting/client/chromoting_stats.h" 11 #include "remoting/client/chromoting_stats.h"
12 #include "remoting/jingle_glue/server_log_entry.h" 12 #include "remoting/signaling/server_log_entry.h"
13 13
14 using base::StringPrintf; 14 using base::StringPrintf;
15 using base::SysInfo; 15 using base::SysInfo;
16 using remoting::protocol::ConnectionToHost; 16 using remoting::protocol::ConnectionToHost;
17 using remoting::protocol::ErrorCode; 17 using remoting::protocol::ErrorCode;
18 18
19 namespace remoting { 19 namespace remoting {
20 20
21 namespace { 21 namespace {
22 const char kValueRoleClient[] = "client"; 22 const char kValueRoleClient[] = "client";
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
157 void AddSessionIdToLogEntry(ServerLogEntry* entry, const std::string& id) { 157 void AddSessionIdToLogEntry(ServerLogEntry* entry, const std::string& id) {
158 entry->Set(kKeySessionId, id); 158 entry->Set(kKeySessionId, id);
159 } 159 }
160 160
161 void AddSessionDurationToLogEntry(ServerLogEntry* entry, 161 void AddSessionDurationToLogEntry(ServerLogEntry* entry,
162 base::TimeDelta duration) { 162 base::TimeDelta duration) {
163 entry->Set(kKeySessionDuration, base::Int64ToString(duration.InSeconds())); 163 entry->Set(kKeySessionDuration, base::Int64ToString(duration.InSeconds()));
164 } 164 }
165 165
166 } // namespace remoting 166 } // namespace remoting
OLDNEW
« no previous file with comments | « remoting/client/plugin/pepper_packet_socket_factory.cc ('k') | remoting/client/server_log_entry_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698