Skip to content

Commit

Permalink
thread_restrictions: Add PermissionManagerQt as friend class
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit f3033f5)
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/564886
Reviewed-by: Allan Sandfeld Jensen <[email protected]>
  • Loading branch information
Kaloyan Chehlarski authored and Allan Sandfeld Jensen committed Dec 3, 2024
1 parent 9ff8428 commit a1ec0e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions chromium/base/threading/thread_restrictions.h
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ namespace QtWebEngineCore {
class DevToolsFrontendQt;
class PrefServiceAdapter;
class ProfileAdapter;
class PermissionManagerQt;
}

namespace base {
Expand Down Expand Up @@ -673,6 +674,7 @@ class BASE_EXPORT ScopedAllowBlocking {
friend class QtWebEngineCore::DevToolsFrontendQt;
friend class QtWebEngineCore::PrefServiceAdapter;
friend class QtWebEngineCore::ProfileAdapter;
friend class QtWebEngineCore::PermissionManagerQt;

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

0 comments on commit a1ec0e8

Please sign in to comment.