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 'local_ads/statistics.hpp')
-rw-r--r--local_ads/statistics.hpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/local_ads/statistics.hpp b/local_ads/statistics.hpp
index 875bf62c3f..f5a71353f0 100644
--- a/local_ads/statistics.hpp
+++ b/local_ads/statistics.hpp
@@ -33,10 +33,8 @@ public:
};
Statistics() = default;
- ~Statistics();
void Startup();
- void Teardown();
void SetUserId(std::string const & userId);
@@ -52,9 +50,6 @@ public:
void CleanupAfterTesting();
private:
- void ThreadRoutine();
- bool RequestEvents(std::list<Event> & events, bool & needToSend);
-
void IndexMetadata();
void ExtractMetadata(std::string const & fileName);
void BalanceMemory();
@@ -79,17 +74,8 @@ private:
}
};
std::map<MetadataKey, Metadata> m_metadataCache;
- std::chrono::steady_clock::time_point m_lastSending;
- bool m_isFirstSending = true;
std::string m_userId;
ServerSerializer m_serverSerializer;
-
- bool m_isRunning = false;
- std::list<Event> m_events;
-
- std::condition_variable m_condition;
- std::mutex m_mutex;
- threads::SimpleThread m_thread;
};
} // namespace local_ads