Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update

Revert
  • Loading branch information
ryanbr committed Mar 14, 2021
1 parent 5a76a8c commit f0f150c
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ constexpr char kSonyentertainmentnetwork[] =
constexpr char kSony[] = "https://[*.]sony.com/*";
constexpr char kGoogle[] = "https://[*.]google.com/*";
constexpr char kGoogleusercontent[] = "https://[*.]googleusercontent.com/*";
constexpr char kFacebook[] = "https://[*.]facebook.com/*";
constexpr char kInstagram[] = "https://[*.]instagram.com/*";

bool BraveIsAllowedThirdParty(const GURL& url,
const GURL& first_party_url,
Expand All @@ -44,6 +46,10 @@ bool BraveIsAllowedThirdParty(const GURL& url,
ContentSettingsPattern::FromString(kGoogleusercontent)},
{ContentSettingsPattern::FromString(kGoogleusercontent),
ContentSettingsPattern::FromString(kGoogle)},
{ContentSettingsPattern::FromString(kInstagram),
ContentSettingsPattern::FromString(kFacebook)},
{ContentSettingsPattern::FromString(kFacebook),
ContentSettingsPattern::FromString(kInstagram)},
{ContentSettingsPattern::FromString(kPlaystation),
ContentSettingsPattern::FromString(kSonyentertainmentnetwork)},
{ContentSettingsPattern::FromString(kSonyentertainmentnetwork),
Expand Down

0 comments on commit f0f150c

Please sign in to comment.