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/pinger.hpp')
-rw-r--r--storage/pinger.hpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/storage/pinger.hpp b/storage/pinger.hpp
new file mode 100644
index 0000000000..6fd185455c
--- /dev/null
+++ b/storage/pinger.hpp
@@ -0,0 +1,16 @@
+#pragma once
+
+#include "platform/safe_callback.hpp"
+
+#include <string>
+#include <vector>
+
+namespace storage
+{
+class Pinger
+{
+public:
+ using Pong = platform::SafeCallback<void(std::vector<std::string> readyUrls)>;
+ static void Ping(std::vector<std::string> const & urls, Pong const & pong);
+};
+} // namespace storage