summaryrefslogtreecommitdiffstats
path: root/wsd/ClientSession.hpp
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2020-05-06 17:02:51 +0100
committerMichael Meeks <michael.meeks@collabora.com>2020-05-06 23:12:12 +0200
commit18c4301a1f26e5630b24db532a532baafb6cd57f (patch)
tree2d16d8891e3b218f605b8ad1421b5e7fe227ee60 /wsd/ClientSession.hpp
parentAndroid: fix that app shows temporary file name "LibreOffice..." (diff)
downloadonline-18c4301a1f26e5630b24db532a532baafb6cd57f.tar.gz
online-18c4301a1f26e5630b24db532a532baafb6cd57f.zip
Proxy: re-factor proxy handling into ServerURL and cleanup copy/paste.
Also adds ServiceRoot handling for clipboard. Change-Id: I7bc6591130fcc7d693e59ab8561fb9e99f4e93d5 Reviewed-on: https://gerrit.libreoffice.org/c/online/+/93578 Tested-by: Michael Meeks <michael.meeks@collabora.com> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'wsd/ClientSession.hpp')
-rw-r--r--wsd/ClientSession.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/wsd/ClientSession.hpp b/wsd/ClientSession.hpp
index f2bd63adcd..a99832560c 100644
--- a/wsd/ClientSession.hpp
+++ b/wsd/ClientSession.hpp
@@ -13,6 +13,7 @@
#include "Storage.hpp"
#include "MessageQueue.hpp"
#include "SenderQueue.hpp"
+#include "ServerURL.hpp"
#include "DocumentBroker.hpp"
#include <Poco/URI.h>
#include <Rectangle.hpp>
@@ -33,7 +34,7 @@ public:
const std::shared_ptr<DocumentBroker>& docBroker,
const Poco::URI& uriPublic,
const bool isReadOnly,
- const std::string& hostNoTrust);
+ const ServerURL &serverURL);
void construct();
virtual ~ClientSession();
@@ -260,8 +261,8 @@ private:
/// The integer id of the view in the Kit process
int _kitViewId;
- /// Un-trusted hostname of our service from the client
- const std::string _hostNoTrust;
+ /// How to find our service from the client.
+ const ServerURL _serverURL;
/// Client is using a text document?
bool _isTextDocument;