| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_BASE_CHROMOTING_EVENT_H_ | 5 #ifndef REMOTING_BASE_CHROMOTING_EVENT_H_ |
| 6 #define REMOTING_BASE_CHROMOTING_EVENT_H_ | 6 #define REMOTING_BASE_CHROMOTING_EVENT_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 static const char kOsKey[]; | 101 static const char kOsKey[]; |
| 102 static const char kOsVersionKey[]; | 102 static const char kOsVersionKey[]; |
| 103 static const char kRenderLatencyKey[]; | 103 static const char kRenderLatencyKey[]; |
| 104 static const char kRoleKey[]; | 104 static const char kRoleKey[]; |
| 105 static const char kRoundtripLatencyKey[]; | 105 static const char kRoundtripLatencyKey[]; |
| 106 static const char kSessionDurationKey[]; | 106 static const char kSessionDurationKey[]; |
| 107 static const char kSessionIdKey[]; | 107 static const char kSessionIdKey[]; |
| 108 static const char kSessionStateKey[]; | 108 static const char kSessionStateKey[]; |
| 109 static const char kTypeKey[]; | 109 static const char kTypeKey[]; |
| 110 static const char kVideoBandwidthKey[]; | 110 static const char kVideoBandwidthKey[]; |
| 111 static const char kWebAppVersionKey[]; |
| 111 | 112 |
| 112 ChromotingEvent(); | 113 ChromotingEvent(); |
| 113 explicit ChromotingEvent(Type type); | 114 explicit ChromotingEvent(Type type); |
| 114 ChromotingEvent(const ChromotingEvent& other); | 115 ChromotingEvent(const ChromotingEvent& other); |
| 115 ChromotingEvent(ChromotingEvent&& other); | 116 ChromotingEvent(ChromotingEvent&& other); |
| 116 | 117 |
| 117 ~ChromotingEvent(); | 118 ~ChromotingEvent(); |
| 118 | 119 |
| 119 ChromotingEvent& operator=(const ChromotingEvent& other); | 120 ChromotingEvent& operator=(const ChromotingEvent& other); |
| 120 ChromotingEvent& operator=(ChromotingEvent&& other); | 121 ChromotingEvent& operator=(ChromotingEvent&& other); |
| (...skipping 22 matching lines...) Expand all Loading... |
| 143 | 144 |
| 144 private: | 145 private: |
| 145 std::unique_ptr<base::DictionaryValue> values_map_; | 146 std::unique_ptr<base::DictionaryValue> values_map_; |
| 146 | 147 |
| 147 int send_attempts_ = 0; | 148 int send_attempts_ = 0; |
| 148 }; | 149 }; |
| 149 | 150 |
| 150 } // namespace remoting | 151 } // namespace remoting |
| 151 | 152 |
| 152 #endif // REMOTING_BASE_CHROMOTING_EVENT_H_ | 153 #endif // REMOTING_BASE_CHROMOTING_EVENT_H_ |
| OLD | NEW |