[Libreoffice-commits] online.git: loolwsd/DocumentBroker.hpp
Ashod Nakashian
ashod.nakashian at collabora.co.uk
Sun Apr 10 04:15:29 UTC 2016
loolwsd/DocumentBroker.hpp | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
New commits:
commit dc137081a788b9be0d372cbb518e4836813555cb
Author: Ashod Nakashian <ashod.nakashian at collabora.co.uk>
Date: Sat Apr 9 23:52:52 2016 -0400
loolwsd: session container can be private to DocumentBroker
Change-Id: I1539f2ec3ab1bd11d659dab11359cf25a46e1f97
Reviewed-on: https://gerrit.libreoffice.org/23952
Reviewed-by: Ashod Nakashian <ashnakash at gmail.com>
Tested-by: Ashod Nakashian <ashnakash at gmail.com>
diff --git a/loolwsd/DocumentBroker.hpp b/loolwsd/DocumentBroker.hpp
index 66e2497..259572f 100644
--- a/loolwsd/DocumentBroker.hpp
+++ b/loolwsd/DocumentBroker.hpp
@@ -161,10 +161,6 @@ public:
unsigned getWSSessionsCount() { return _wsSessions.size(); }
-public:
- std::map<std::string, std::shared_ptr<MasterProcessSession>> _wsSessions;
- std::mutex _wsSessionsMutex;
-
private:
const Poco::URI _uriPublic;
const std::string _docKey;
@@ -174,6 +170,8 @@ private:
std::string _jailId;
std::string _filename;
std::chrono::steady_clock::time_point _lastSaveTime;
+ std::map<std::string, std::shared_ptr<MasterProcessSession>> _wsSessions;
+ std::mutex _wsSessionsMutex;
std::unique_ptr<StorageBase> _storage;
std::unique_ptr<TileCache> _tileCache;
std::shared_ptr<ChildProcess> _childProcess;
More information about the Libreoffice-commits
mailing list