[WebLayer] Part 3: Refactor PageInfo.

Refactor logic around getting counts of allowed and blocked
first and third_party cookies.

Bug: 1052375
Change-Id: I68199d3bf062c35ef93c71f95a3c6ebb4cfd389f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2111173
Commit-Queue: Mugdha Lakhani <[email protected]>
Reviewed-by: Colin Blundell <[email protected]>
Cr-Commit-Position: refs/heads/master@{#752110}
diff --git a/chrome/browser/ui/page_info/page_info_delegate.h b/chrome/browser/ui/page_info/page_info_delegate.h
index 096d5ff7..9eaac1a 100644
--- a/chrome/browser/ui/page_info/page_info_delegate.h
+++ b/chrome/browser/ui/page_info/page_info_delegate.h
@@ -16,6 +16,10 @@
   // Whether the content setting of type |type| has changed via Page Info UI.
   virtual bool HasContentSettingChangedViaPageInfo(
       ContentSettingsType type) = 0;
+  virtual int GetFirstPartyAllowedCookiesCount(const GURL& site_url) = 0;
+  virtual int GetFirstPartyBlockedCookiesCount(const GURL& site_url) = 0;
+  virtual int GetThirdPartyAllowedCookiesCount(const GURL& site_url) = 0;
+  virtual int GetThirdPartyBlockedCookiesCount(const GURL& site_url) = 0;
 };
 
 #endif  // CHROME_BROWSER_UI_PAGE_INFO_PAGE_INFO_DELEGATE_H_