Skip to content

Commit aaf5345

Browse files
Kaloyan ChehlarskiMichal Klocek
authored andcommitted
[268]thread_restrictions: Add PermissionManagerQt as friend class
This is needed for the addition of permission persistence, which requires serializing to disk. Change-Id: Idf9d310535c28e77744b94a0f44b726d1f55d6a6 Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/549638 Reviewed-by: Michael Brüning <michael.bruning@qt.io> (cherry picked from commit f3033f5) Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/564886 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
1 parent c4389ac commit aaf5345

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

chromium/base/threading/thread_restrictions.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,6 +460,7 @@ namespace QtWebEngineCore {
460460
class DevToolsFrontendQt;
461461
class PrefServiceAdapter;
462462
class ProfileAdapter;
463+
class PermissionManagerQt;
463464
}
464465

465466
namespace base {
@@ -673,6 +674,7 @@ class BASE_EXPORT ScopedAllowBlocking {
673674
friend class QtWebEngineCore::DevToolsFrontendQt;
674675
friend class QtWebEngineCore::PrefServiceAdapter;
675676
friend class QtWebEngineCore::ProfileAdapter;
677+
friend class QtWebEngineCore::PermissionManagerQt;
676678

677679
// Sorted by function name (with namespace), ignoring the return type.
678680
friend Profile* ::GetLastProfileMac(); // http://crbug.com/1176734

0 commit comments

Comments
 (0)