summaryrefslogtreecommitdiffstats
path: root/src/core/access_token_store_qt.h
diff options
context:
space:
mode:
authorAndras Becsi <andras.becsi@theqtcompany.com>2014-12-01 13:24:25 +0100
committerAndras Becsi <andras.becsi@theqtcompany.com>2014-12-01 14:28:00 +0100
commit9316b8c27c4d63ee755517fb4670268424200b3c (patch)
treea9818fd5a8798ec56add7cd622fb13cee525557a /src/core/access_token_store_qt.h
parentad46ffd2e74b17cd7e7b8a7d73590696cc8febce (diff)
parent03a52863226aeb774721db610ba831808b30836a (diff)
Merge remote-tracking branch 'origin/5.4' into dev
Conflicts: src/core/access_token_store_qt.cpp src/core/access_token_store_qt.h src/core/content_browser_client_qt.cpp Change-Id: Id319ad0d87ce071e63d9c6c22b4fc35523ddfa74
Diffstat (limited to 'src/core/access_token_store_qt.h')
-rw-r--r--src/core/access_token_store_qt.h40
1 files changed, 36 insertions, 4 deletions
diff --git a/src/core/access_token_store_qt.h b/src/core/access_token_store_qt.h
index 4fbbde5f0..9493da774 100644
--- a/src/core/access_token_store_qt.h
+++ b/src/core/access_token_store_qt.h
@@ -1,6 +1,38 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
+/****************************************************************************
+**
+** Copyright (C) 2014 Digia Plc and/or its subsidiary(-ies).
+** Contact: http://www.qt-project.org/legal
+**
+** This file is part of the QtWebEngine module of the Qt Toolkit.
+**
+** $QT_BEGIN_LICENSE:LGPL$
+** Commercial License Usage
+** Licensees holding valid commercial Qt licenses may use this file in
+** accordance with the commercial license agreement provided with the
+** Software or, alternatively, in accordance with the terms contained in
+** a written agreement between you and Digia. For licensing terms and
+** conditions see http://qt.digia.com/licensing. For further information
+** use the contact form at http://qt.digia.com/contact-us.
+**
+** GNU Lesser General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU Lesser
+** General Public License version 3 as published by the Free Software
+** Foundation and appearing in the file LICENSE.LGPLv3 included in the
+** packaging of this file. Please review the following information to
+** ensure the GNU Lesser General Public License version 3 requirements
+** will be met: https://www.gnu.org/licenses/lgpl.html.
+**
+** GNU General Public License Usage
+** Alternatively, this file may be used under the terms of the GNU
+** General Public License version 2.0 or later as published by the Free
+** Software Foundation and appearing in the file LICENSE.GPL included in
+** the packaging of this file. Please review the following information to
+** ensure the GNU General Public License version 2.0 requirements will be
+** met: http://www.gnu.org/licenses/gpl-2.0.html.
+**
+** $QT_END_LICENSE$
+**
+****************************************************************************/
#ifndef ACCESS_TOKEN_STORE_QT_H
#define ACCESS_TOKEN_STORE_QT_H
@@ -19,12 +51,12 @@ class URLRequestContextGetter;
class AccessTokenStoreQt : public content::AccessTokenStore {
public:
AccessTokenStoreQt();
+ ~AccessTokenStoreQt();
virtual void LoadAccessTokens(const LoadAccessTokensCallbackType& request) Q_DECL_OVERRIDE;
virtual void SaveAccessToken(const GURL& serverUrl, const base::string16& accessToken) Q_DECL_OVERRIDE;
private:
- virtual ~AccessTokenStoreQt();
void performWorkOnUIThread();
void respondOnOriginatingThread(const LoadAccessTokensCallbackType& callback);