OLD | NEW |
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 #ifndef REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ | 5 #ifndef REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ |
6 #define REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ | 6 #define REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ |
7 | 7 |
8 #include "base/threading/non_thread_safe.h" | 8 #include "base/threading/non_thread_safe.h" |
9 #include "base/time/time.h" | 9 #include "base/time/time.h" |
10 #include "remoting/jingle_glue/log_to_server.h" | |
11 #include "remoting/protocol/connection_to_host.h" | 10 #include "remoting/protocol/connection_to_host.h" |
12 #include "remoting/protocol/errors.h" | 11 #include "remoting/protocol/errors.h" |
| 12 #include "remoting/signaling/log_to_server.h" |
13 | 13 |
14 namespace remoting { | 14 namespace remoting { |
15 | 15 |
16 class ChromotingStats; | 16 class ChromotingStats; |
17 | 17 |
18 // ClientStatusLogger sends client log entries to a server. | 18 // ClientStatusLogger sends client log entries to a server. |
19 // The contents of the log entries are described in server_log_entry_client.cc. | 19 // The contents of the log entries are described in server_log_entry_client.cc. |
20 // They do not contain any personally identifiable information. | 20 // They do not contain any personally identifiable information. |
21 class ClientStatusLogger : public base::NonThreadSafe { | 21 class ClientStatusLogger : public base::NonThreadSafe { |
22 public: | 22 public: |
(...skipping 27 matching lines...) Expand all Loading... |
50 | 50 |
51 // Time when the session ID was generated. | 51 // Time when the session ID was generated. |
52 base::TimeTicks session_id_generation_time_; | 52 base::TimeTicks session_id_generation_time_; |
53 | 53 |
54 DISALLOW_COPY_AND_ASSIGN(ClientStatusLogger); | 54 DISALLOW_COPY_AND_ASSIGN(ClientStatusLogger); |
55 }; | 55 }; |
56 | 56 |
57 } // namespace remoting | 57 } // namespace remoting |
58 | 58 |
59 #endif // REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ | 59 #endif // REMOTING_CLIENT_CLIENT_STATUS_LOGGER_H_ |
OLD | NEW |