diff options
Diffstat (limited to 'chromium/components/page_info/page_info.h')
-rw-r--r-- | chromium/components/page_info/page_info.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/chromium/components/page_info/page_info.h b/chromium/components/page_info/page_info.h index 1fcd8ba0906..8acef48c93f 100644 --- a/chromium/components/page_info/page_info.h +++ b/chromium/components/page_info/page_info.h @@ -217,6 +217,8 @@ class PageInfo : public content::WebContentsObserver { private: FRIEND_TEST_ALL_PREFIXES(PageInfoTest, NonFactoryDefaultAndRecentlyChangedPermissionsShown); + FRIEND_TEST_ALL_PREFIXES(PageInfoTest, IncognitoPermissionsEmptyByDefault); + FRIEND_TEST_ALL_PREFIXES(PageInfoTest, IncognitoPermissionsDontShowAsk); friend class PageInfoBubbleViewBrowserTest; // Populates this object's UI state with provided security context. This // function does not update visible UI-- that's part of Present*(). @@ -258,8 +260,8 @@ class PageInfo : public content::WebContentsObserver { // Exposed for testing. static std::vector<ContentSettingsType> GetAllPermissionsForTesting(); - // Creates if necessary, and returns TabSpecificContentSettings - // for the observed WebContents. + // Returns TabSpecificContentSettings for the observed WebContents if present, + // nullptr otherwise. content_settings::TabSpecificContentSettings* GetTabSpecificContentSettings() const; @@ -270,13 +272,6 @@ class PageInfo : public content::WebContentsObserver { // via Page Info UI. void ContentSettingChangedViaPageInfo(ContentSettingsType type); - // Get allowed and blocked shared objects like cookies, local storage, etc for - // |site_url|. - const browsing_data::LocalSharedObjectsContainer& GetAllowedObjects( - const GURL& site_url); - const browsing_data::LocalSharedObjectsContainer& GetBlockedObjects( - const GURL& site_url); - // Get counts of allowed and blocked cookies. int GetFirstPartyAllowedCookiesCount(const GURL& site_url); int GetFirstPartyBlockedCookiesCount(const GURL& site_url); |