diff options
author | r.kuznetsov <r.kuznetsov@corp.mail.ru> | 2017-09-21 13:03:48 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2017-09-21 14:42:24 +0300 |
commit | 1ff28a74a919dcee1b947aff2fc987216fc486e2 (patch) | |
tree | 30130a5be6cd00cf9cf5ad2698f904308007fc59 /platform/platform.hpp | |
parent | 87735e7050bc3f8e34eeb394964c7ba58cb175cc (diff) |
Added secure storage interface
Diffstat (limited to 'platform/platform.hpp')
-rw-r--r-- | platform/platform.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/platform/platform.hpp b/platform/platform.hpp index 3b64c0bdd6..86b9b1ecfa 100644 --- a/platform/platform.hpp +++ b/platform/platform.hpp @@ -3,6 +3,7 @@ #include "platform/country_defines.hpp" #include "platform/gui_thread.hpp" #include "platform/marketing_service.hpp" +#include "platform/secure_storage.hpp" #include "coding/reader.hpp" @@ -95,6 +96,9 @@ protected: /// Platform-dependent marketing services. MarketingService m_marketingService; + /// Platform-dependent secure storage. + platform::SecureStorage m_secureStorage; + unique_ptr<base::TaskLoop> m_guiThread; base::WorkerThread m_networkThread; @@ -254,6 +258,7 @@ public: void SetupMeasurementSystem() const; MarketingService & GetMarketingService() { return m_marketingService; } + platform::SecureStorage & GetSecureStorage() { return m_secureStorage; } // Use this method for testing purposes only. void SetGuiThread(unique_ptr<base::TaskLoop> guiThread); |