Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'storage/storage.cpp')
-rw-r--r--storage/storage.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/storage.cpp b/storage/storage.cpp
index 57210b0411..302e6702b8 100644
--- a/storage/storage.cpp
+++ b/storage/storage.cpp
@@ -560,9 +560,9 @@ void Storage::DownloadNextCountryFromQueue()
});
TCountriesVec localMaps;
GetLocalRealMaps(localMaps);
- GetPlatform().SendPushWooshTag("map_listing", localMaps);
+ GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapListing, localMaps);
if (!localMaps.empty())
- GetPlatform().SendPushWooshTag("map_download_discovered");
+ GetPlatform().GetMarketingService().SendPushWooshTag(marketing::kMapDownloadDiscovered);
return;
}
@@ -830,7 +830,8 @@ void Storage::OnMapDownloadFinished(TCountryId const & countryId, bool success,
{"status", success ? "ok" : "failed"},
{"version", strings::to_string(GetCurrentDataVersion())},
{"option", DebugPrint(files)}}));
- GetPlatform().SendMarketingEvent("Downloader_Map_action_finished", {{"action", "download"}});
+ GetPlatform().GetMarketingService().SendMarketingEvent(marketing::kDownloaderMapActionFinished,
+ {{"action", "download"}});
}
success = success && RegisterDownloadedFiles(countryId, files);