Showing the changes to libraries/networking/src/UserActivityLoggerScriptingInterface.cpp (1 of 188 files). Show all
Unified · Split
| @@ -24,10 +24,6 @@ void UserActivityLoggerScriptingInterface::closedTablet() { · 23 unmodified lines | ||
| 24 | 24 | doLogAction("closed_tablet"); |
| 25 | 25 | } |
| 26 | 26 | |
| 27 | −void UserActivityLoggerScriptingInterface::openedMarketplace() { | |
| 28 | − doLogAction("opened_marketplace"); | |
| 29 | −} | |
| 30 | − | |
| 31 | 27 | void UserActivityLoggerScriptingInterface::toggledAway(bool isAway) { |
| 32 | 28 | doLogAction("toggled_away", { { "is_away", isAway } }); |
| 33 | 29 | } |
| @@ -88,71 +84,3 @@ void UserActivityLoggerScriptingInterface::doLogAction(QString action, QJsonObje · 54 unmodified lines | ||
| 88 | 84 | Q_ARG(QString, action), |
| 89 | 85 | Q_ARG(QJsonObject, details)); |
| 90 | 86 | } |
| 91 | − | |
| 92 | −void UserActivityLoggerScriptingInterface::commercePurchaseSuccess(QString marketplaceID, QString contentCreator, int cost, bool firstPurchaseOfThisItem) { | |
| 93 | − QJsonObject payload; | |
| 94 | − payload["marketplaceID"] = marketplaceID; | |
| 95 | − payload["contentCreator"] = contentCreator; | |
| 96 | − payload["cost"] = cost; | |
| 97 | − payload["firstPurchaseOfThisItem"] = firstPurchaseOfThisItem; | |
| 98 | − doLogAction("commercePurchaseSuccess", payload); | |
| 99 | −} | |
| 100 | − | |
| 101 | −void UserActivityLoggerScriptingInterface::commercePurchaseFailure(QString marketplaceID, QString contentCreator, int cost, bool firstPurchaseOfThisItem, QString errorDetails) { | |
| 102 | − QJsonObject payload; | |
| 103 | − payload["marketplaceID"] = marketplaceID; | |
| 104 | − payload["contentCreator"] = contentCreator; | |
| 105 | − payload["cost"] = cost; | |
| 106 | − payload["firstPurchaseOfThisItem"] = firstPurchaseOfThisItem; | |
| 107 | − payload["errorDetails"] = errorDetails; | |
| 108 | − doLogAction("commercePurchaseFailure", payload); | |
| 109 | −} | |
| 110 | − | |
| 111 | −void UserActivityLoggerScriptingInterface::commerceEntityRezzed(QString marketplaceID, QString source, QString type) { | |
| 112 | − QJsonObject payload; | |
| 113 | − payload["marketplaceID"] = marketplaceID; | |
| 114 | − payload["source"] = source; | |
| 115 | − payload["type"] = type; | |
| 116 | − doLogAction("commerceEntityRezzed", payload); | |
| 117 | −} | |
| 118 | − | |
| 119 | −void UserActivityLoggerScriptingInterface::commerceWalletSetupStarted(int timestamp, QString setupAttemptID, int setupFlowVersion, QString referrer, QString currentDomain) { | |
| 120 | − QJsonObject payload; | |
| 121 | − payload["timestamp"] = timestamp; | |
| 122 | − payload["setupAttemptID"] = setupAttemptID; | |
| 123 | − payload["setupFlowVersion"] = setupFlowVersion; | |
| 124 | − payload["referrer"] = referrer; | |
| 125 | − payload["currentDomain"] = currentDomain; | |
| 126 | − doLogAction("commerceWalletSetupStarted", payload); | |
| 127 | −} | |
| 128 | − | |
| 129 | −void UserActivityLoggerScriptingInterface::commerceWalletSetupProgress(int timestamp, QString setupAttemptID, int secondsElapsed, int currentStepNumber, QString currentStepName) { | |
| 130 | − QJsonObject payload; | |
| 131 | − payload["timestamp"] = timestamp; | |
| 132 | − payload["setupAttemptID"] = setupAttemptID; | |
| 133 | − payload["secondsElapsed"] = secondsElapsed; | |
| 134 | − payload["currentStepNumber"] = currentStepNumber; | |
| 135 | − payload["currentStepName"] = currentStepName; | |
| 136 | − doLogAction("commerceWalletSetupProgress", payload); | |
| 137 | −} | |
| 138 | − | |
| 139 | −void UserActivityLoggerScriptingInterface::commerceWalletSetupFinished(int timestamp, QString setupAttemptID, int secondsToComplete) { | |
| 140 | − QJsonObject payload; | |
| 141 | − payload["timestamp"] = timestamp; | |
| 142 | − payload["setupAttemptID"] = setupAttemptID; | |
| 143 | − payload["secondsToComplete"] = secondsToComplete; | |
| 144 | − doLogAction("commerceWalletSetupFinished", payload); | |
| 145 | −} | |
| 146 | − | |
| 147 | −void UserActivityLoggerScriptingInterface::commercePassphraseEntry(QString source) { | |
| 148 | − QJsonObject payload; | |
| 149 | − payload["source"] = source; | |
| 150 | − doLogAction("commercePassphraseEntry", payload); | |
| 151 | −} | |
| 152 | − | |
| 153 | −void UserActivityLoggerScriptingInterface::commercePassphraseAuthenticationStatus(QString status) { | |
| 154 | − QJsonObject payload; | |
| 155 | − payload["status"] = status; | |
| 156 | − doLogAction("commercePassphraseAuthenticationStatus", payload); | |
| 157 | − | |
| 158 | −} | |