diff options
Diffstat (limited to 'src/core/telemetry_session.cpp')
| -rw-r--r-- | src/core/telemetry_session.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/telemetry_session.cpp b/src/core/telemetry_session.cpp index ddc8b262e..1ba0a698d 100644 --- a/src/core/telemetry_session.cpp +++ b/src/core/telemetry_session.cpp | |||
| @@ -6,12 +6,12 @@ | |||
| 6 | 6 | ||
| 7 | #include "common/scm_rev.h" | 7 | #include "common/scm_rev.h" |
| 8 | #include "core/telemetry_session.h" | 8 | #include "core/telemetry_session.h" |
| 9 | #include "web_services/telemetry_json.h" | ||
| 9 | 10 | ||
| 10 | namespace Core { | 11 | namespace Core { |
| 11 | 12 | ||
| 12 | TelemetrySession::TelemetrySession() { | 13 | TelemetrySession::TelemetrySession() { |
| 13 | // TODO(bunnei): Replace with a backend that logs to our web service | 14 | backend = std::make_unique<WebService::TelemetryJson>(); |
| 14 | backend = std::make_unique<Telemetry::NullVisitor>(); | ||
| 15 | 15 | ||
| 16 | // Log one-time session start information | 16 | // Log one-time session start information |
| 17 | const auto duration{std::chrono::steady_clock::now().time_since_epoch()}; | 17 | const auto duration{std::chrono::steady_clock::now().time_since_epoch()}; |