~ps-jenkins/signon-ui/trusty-proposed

« back to all changes in this revision

Viewing changes to src/service.h

  • Committer: Tarmac
  • Author(s): Alberto Mardegan
  • Date: 2014-01-22 15:17:48 UTC
  • mfrom: (121.1.3 export-cookies)
  • Revision ID: tarmac-20140122151748-iybz2054wl87ipdn
Add an experimental method to get the WebView cookies

This is intended to be used by the webapps container, in the attempt to reduce the number of web logins required to the user.

Approved by Ken VanDine, Alexandre Abreu, PS Jenkins bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#ifndef SIGNON_UI_SERVICE_H
22
22
#define SIGNON_UI_SERVICE_H
23
23
 
 
24
#include "cookie-jar-manager.h"
 
25
 
24
26
#include <QDBusContext>
25
27
#include <QObject>
26
28
#include <QVariantMap>
47
49
    Q_NOREPLY void cancelUiRequest(const QString &requestId);
48
50
    void removeIdentityData(quint32 id);
49
51
 
 
52
    /*
 
53
     * This is not officially part of the interface; it's an Ubuntu-specific
 
54
     * experimental method, and we reserve the right to remove or change it in
 
55
     * future releases.
 
56
     */
 
57
    void cookiesForIdentity(quint32 id,
 
58
                            // Output parameters
 
59
                            RawCookies &cookies, qint64 &timestamp);
 
60
 
50
61
Q_SIGNALS:
51
62
    void isIdleChanged();
52
63