Remove content::PermissionType references and replace them with...

...blink::PermissionType

This is a follow-up of https://chromium-review.googlesource.com/c/chromium/src/+/3359620
which moved PermissionType to blink but left a `using` statement to
avoid modifying a large amount of files in an already complicated
enough CL.

This CL removes that statement and modifies all references to use the
blink type.

Bug: 1122423
Change-Id: Ia2e992d1cb1456bbba72c4d9ee38b74fca8cab1e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3593199
Commit-Queue: Andy Paicu <[email protected]>
Reviewed-by: Clark DuVall <[email protected]>
Reviewed-by: Scott Violet <[email protected]>
Reviewed-by: Illia Klimov <[email protected]>
Reviewed-by: Reilly Grant <[email protected]>
Reviewed-by: Eugene Zemtsov <[email protected]>
Reviewed-by: Joshua Bell <[email protected]>
Reviewed-by: Eric Seckler <[email protected]>
Reviewed-by: Peter Beverloo <[email protected]>
Reviewed-by: Ted Choc <[email protected]>
Reviewed-by: Sean Topping <[email protected]>
Reviewed-by: Daseul Lee <[email protected]>
Reviewed-by: Kevin Marshall <[email protected]>
Reviewed-by: Andrey Kosyakov <[email protected]>
Reviewed-by: Alexander Timin <[email protected]>
Cr-Commit-Position: refs/heads/main@{#997288}
diff --git a/chrome/browser/performance_manager/mechanisms/page_freezer.cc b/chrome/browser/performance_manager/mechanisms/page_freezer.cc
index f7e0715..93019fc 100644
--- a/chrome/browser/performance_manager/mechanisms/page_freezer.cc
+++ b/chrome/browser/performance_manager/mechanisms/page_freezer.cc
@@ -15,6 +15,7 @@
 #include "content/public/browser/permission_controller.h"
 #include "content/public/browser/visibility.h"
 #include "content/public/browser/web_contents.h"
+#include "third_party/blink/public/common/permissions/permission_utils.h"
 
 namespace performance_manager {
 namespace mechanism {
@@ -35,7 +36,7 @@
   // it's in background. This information isn't available in the PM graph, this
   // has to be checked on the UI thread.
   if (permission_controller->GetPermissionStatusForCurrentDocument(
-          content::PermissionType::NOTIFICATIONS, contents->GetMainFrame()) ==
+          blink::PermissionType::NOTIFICATIONS, contents->GetMainFrame()) ==
       blink::mojom::PermissionStatus::GRANTED) {
     return;
   }