~xavi-garcia-mena/storage-provider-webdav/base-url-host-fix

« back to all changes in this revision

Viewing changes to src/DavProvider.h

  • Committer: Tarmac
  • Author(s): James Henstridge
  • Date: 2016-09-23 05:03:11 UTC
  • mfrom: (7.1.13 provider-test-fixture)
  • Revision ID: tarmac-20160923050311-bb3m6zal58cpccqu
Add test infrastructure for testing DavProvider.

Approved by Michi Henning, unity-api-1-bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
class QNetworkAccessManager;
8
8
class QNetworkRequest;
 
9
class QUrl;
9
10
 
10
11
class DavProvider : public unity::storage::provider::ProviderBase
11
12
{
53
54
        unity::storage::provider::Context const& ctx) override;
54
55
 
55
56
protected:
56
 
    virtual std::string base_url(
 
57
    virtual QUrl base_url(
57
58
        unity::storage::provider::Context const& ctx) const = 0;
58
59
    virtual void add_credentials(QNetworkRequest *request,
59
60
        unity::storage::provider::Context const& ctx) const = 0;