diff options
| author | 2018-10-09 16:56:56 -0400 | |
|---|---|---|
| committer | 2018-10-09 16:56:56 -0400 | |
| commit | 89939be9e6c455f851978eb27d3ecb201c0f32be (patch) | |
| tree | bb00ae611ae39a09f03e154040613b92c35460c9 /src/core/telemetry_session.h | |
| parent | Merge pull request #1462 from lioncash/move (diff) | |
| parent | telemetry_session: Remove doxygen comment for a non-existent parameter (diff) | |
| download | yuzu-89939be9e6c455f851978eb27d3ecb201c0f32be.tar.gz yuzu-89939be9e6c455f851978eb27d3ecb201c0f32be.tar.xz yuzu-89939be9e6c455f851978eb27d3ecb201c0f32be.zip | |
Merge pull request #1465 from lioncash/telemetry
telemetry_session: Minor miscellaneous changes
Diffstat (limited to 'src/core/telemetry_session.h')
| -rw-r--r-- | src/core/telemetry_session.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/telemetry_session.h b/src/core/telemetry_session.h index cec271df0..2a4845797 100644 --- a/src/core/telemetry_session.h +++ b/src/core/telemetry_session.h | |||
| @@ -5,6 +5,7 @@ | |||
| 5 | #pragma once | 5 | #pragma once |
| 6 | 6 | ||
| 7 | #include <memory> | 7 | #include <memory> |
| 8 | #include <string> | ||
| 8 | #include "common/telemetry.h" | 9 | #include "common/telemetry.h" |
| 9 | 10 | ||
| 10 | namespace Core { | 11 | namespace Core { |
| @@ -30,8 +31,6 @@ public: | |||
| 30 | field_collection.AddField(type, name, std::move(value)); | 31 | field_collection.AddField(type, name, std::move(value)); |
| 31 | } | 32 | } |
| 32 | 33 | ||
| 33 | static void FinalizeAsyncJob(); | ||
| 34 | |||
| 35 | private: | 34 | private: |
| 36 | Telemetry::FieldCollection field_collection; ///< Tracks all added fields for the session | 35 | Telemetry::FieldCollection field_collection; ///< Tracks all added fields for the session |
| 37 | std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields | 36 | std::unique_ptr<Telemetry::VisitorInterface> backend; ///< Backend interface that logs fields |
| @@ -53,7 +52,6 @@ u64 RegenerateTelemetryId(); | |||
| 53 | * Verifies the username and token. | 52 | * Verifies the username and token. |
| 54 | * @param username yuzu username to use for authentication. | 53 | * @param username yuzu username to use for authentication. |
| 55 | * @param token yuzu token to use for authentication. | 54 | * @param token yuzu token to use for authentication. |
| 56 | * @param func A function that gets exectued when the verification is finished | ||
| 57 | * @returns Future with bool indicating whether the verification succeeded | 55 | * @returns Future with bool indicating whether the verification succeeded |
| 58 | */ | 56 | */ |
| 59 | bool VerifyLogin(const std::string& username, const std::string& token); | 57 | bool VerifyLogin(const std::string& username, const std::string& token); |