diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/components/page_info/page_info.h | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
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); |