[Chromoting] remoting.SessionLogger.
This CL provides a remoting.Logger implementation that generate
log entries in the format of remoting.ChromotingEvent.
This class will be used by the client session to write to the
logging service.
Also fixed a few typos in remoting.StatsAccumulator
and remoting.ChromotingEvent caught by the unit test.
BUG=497268
Review URL: https://codereview.chromium.org/1213683003
Cr-Commit-Position: refs/heads/master@{#336472}
diff --git a/remoting/remoting_webapp_files.gypi b/remoting/remoting_webapp_files.gypi
index 0519fb6..b114870 100644
--- a/remoting/remoting_webapp_files.gypi
+++ b/remoting/remoting_webapp_files.gypi
@@ -96,6 +96,7 @@
'webapp/base/js/l10n_unittest.js',
'webapp/base/js/platform_unittest.js',
'webapp/base/js/protocol_extension_manager_unittest.js',
+ 'webapp/base/js/session_logger_unittest.js',
'webapp/base/js/telemetry_event_writer_unittest.js',
'webapp/base/js/typecheck_unittest.js',
'webapp/base/js/viewport_unittest.js',
@@ -205,6 +206,7 @@
'webapp/base/js/format_iq.js',
'webapp/base/js/log_to_server.js',
'webapp/base/js/server_log_entry.js',
+ 'webapp/base/js/session_logger.js',
'webapp/base/js/stats_accumulator.js',
],
# Remoting signaling files.
@@ -460,7 +462,6 @@
#
# All the JavaScript files required by credits.html
#
-
'remoting_webapp_credits_html_all_js_files': [
'webapp/base/js/credits_js.js',
],