[WebLayer] Add PageInfoClientImpl, PageInfoDelegateImpl.
Add PageInfoClient and delegate implementations for the native code for
WebLayer. PageInfoClient offers an easy way to access PageInfoDelegate.
It's now being set early in the browser process startup.
Several methods in PageInfoDelegateImpl are yet to be implemented and TODOs have
been added for those. The delegate impl isn't being used anywhere right now, but
is necessary to build Page Info UI for WebLayer.
This also implements GetVisibleSecurityState and GetSecurityLevel by
directly calling into components/security_state code. This differs from
Clank's implementation which has extra logic based on Reputation Service
inputs, among other things.
Bug: 1052375
Change-Id: I87c6269d83ec45225efd0e63ba0dd167d0bf5b4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2162858
Commit-Queue: Mugdha Lakhani <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Reviewed-by: Clark DuVall <[email protected]>
Cr-Commit-Position: refs/heads/master@{#762995}
diff --git a/components/page_info/page_info_delegate.h b/components/page_info/page_info_delegate.h
index 71f3500..9b947e9 100644
--- a/components/page_info/page_info_delegate.h
+++ b/components/page_info/page_info_delegate.h
@@ -20,13 +20,10 @@
} // namespace safe_browsing
namespace permissions {
+class ChooserContextBase;
class PermissionDecisionAutoBlocker;
} // namespace permissions
-namespace permissions {
-class ChooserContextBase;
-}
-
class HostContentSettingsMap;
class StatefulSSLHostStateDelegate;