summaryrefslogtreecommitdiffstats
path: root/src/core/content_client_qt.cpp
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-04-28 12:03:07 +0200
committerAllan Sandfeld Jensen <allan.jensen@theqtcompany.com>2016-04-29 10:29:27 +0000
commitf5aaf48aac2a559f6576602ca34d68d94ea878d7 (patch)
tree1d12b125e20aae53bde33eb397aa7c6cf4764387 /src/core/content_client_qt.cpp
parentc1e0dc2c4f113d39e5539ca649105514de120cc9 (diff)
Cleanup copyright and origin in src/core
Adds copyright and origins to files in src/core based on Chrome sources. Change-Id: I842ce4c170bfeabe06d92fb67fef3d8f9a202ddc Task-number: QTBUG-53048 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/core/content_client_qt.cpp')
-rw-r--r--src/core/content_client_qt.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/core/content_client_qt.cpp b/src/core/content_client_qt.cpp
index fc9a2a283..8a5dde70f 100644
--- a/src/core/content_client_qt.cpp
+++ b/src/core/content_client_qt.cpp
@@ -58,6 +58,12 @@
#include <QString>
#if defined(ENABLE_PLUGINS)
+
+// The plugin logic is based on chrome/common/chrome_content_client.cc:
+// 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.
+
#include "content/public/common/pepper_plugin_info.h"
#include "ppapi/shared_impl/ppapi_permissions.h"
@@ -95,7 +101,6 @@ static QString ppapiPluginsPath()
}
-// Adopted from chrome_content_client.cc
content::PepperPluginInfo CreatePepperFlashInfo(const base::FilePath& path, const std::string& version)
{
content::PepperPluginInfo plugin;