Replace permissions::PermissionResult with content::PermissionResult

PermissionController is placed in //content and cannot access
components/permissions hence we had to move PermissionResult from
//components to //content. This CL finishes migration by removing the
old permission_result.* files and cleaning up no-longer-used conversion
methods.

Bug: 1423884
Change-Id: Ic78ab15ce01196ef8bebc74a924c8a72437d0d53
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4748224
Commit-Queue: Elias Klim <[email protected]>
Reviewed-by: Andy Paicu <[email protected]>
Reviewed-by: Evan Stade <[email protected]>
Reviewed-by: Vasilii Sukhanov <[email protected]>
Reviewed-by: Alexander Timin <[email protected]>
Reviewed-by: Christian Dullweber <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1183020}
diff --git a/components/page_info/page_info_delegate.h b/components/page_info/page_info_delegate.h
index 55daa35..b3de190 100644
--- a/components/page_info/page_info_delegate.h
+++ b/components/page_info/page_info_delegate.h
@@ -11,11 +11,11 @@
 #include "components/content_settings/browser/page_specific_content_settings.h"
 #include "components/content_settings/core/common/content_settings_types.h"
 #include "components/page_info/page_info.h"
-#include "components/permissions/permission_result.h"
 #include "components/permissions/permission_uma_util.h"
 #include "components/safe_browsing/buildflags.h"
 #include "components/safe_browsing/core/browser/password_protection/metrics_util.h"
 #include "components/security_state/core/security_state.h"
+#include "content/public/browser/permission_result.h"
 #include "third_party/abseil-cpp/absl/types/optional.h"
 
 namespace blink {
@@ -63,7 +63,7 @@
 #endif
   // Get permission status for the permission associated with ContentSetting of
   // type |type|.
-  virtual permissions::PermissionResult GetPermissionResult(
+  virtual content::PermissionResult GetPermissionResult(
       blink::PermissionType permission,
       const url::Origin& origin,
       const absl::optional<url::Origin>& requesting_origin) = 0;