|
17 | 17 | "//build:branding_buildflags", |
18 | 18 | --- a/chrome/browser/chrome_content_browser_client.cc |
19 | 19 | +++ b/chrome/browser/chrome_content_browser_client.cc |
20 | | -@@ -5181,7 +5181,6 @@ std::wstring ChromeContentBrowserClient: |
| 20 | +@@ -5111,7 +5111,6 @@ std::wstring ChromeContentBrowserClient: |
21 | 21 | #endif |
22 | 22 | case sandbox::mojom::Sandbox::kPrintCompositor: |
23 | 23 | case sandbox::mojom::Sandbox::kAudio: |
24 | 24 | - case sandbox::mojom::Sandbox::kScreenAI: |
25 | 25 | case sandbox::mojom::Sandbox::kSpeechRecognition: |
26 | 26 | case sandbox::mojom::Sandbox::kPdfConversion: |
27 | 27 | case sandbox::mojom::Sandbox::kService: |
28 | | -@@ -5277,7 +5276,6 @@ bool ChromeContentBrowserClient::PreSpaw |
| 28 | +@@ -5207,7 +5206,6 @@ bool ChromeContentBrowserClient::PreSpaw |
29 | 29 | case sandbox::mojom::Sandbox::kPrintBackend: |
30 | 30 | #endif |
31 | 31 | case sandbox::mojom::Sandbox::kPrintCompositor: |
|
64 | 64 | std::wstring cred_provider_gaia_id; |
65 | 65 | std::wstring cred_provider_email; |
66 | 66 |
|
| 67 | +--- a/chrome/browser/ui/safety_hub/abusive_notification_permissions_manager.cc |
| 68 | ++++ b/chrome/browser/ui/safety_hub/abusive_notification_permissions_manager.cc |
| 69 | +@@ -113,15 +113,7 @@ bool HasShowOriginalSuspiciousNotificati |
| 70 | + base::Value stored_value(hcsm->GetWebsiteSetting( |
| 71 | + url, url, ContentSettingsType::SUSPICIOUS_NOTIFICATION_SHOW_ORIGINAL)); |
| 72 | + |
| 73 | +- if (stored_value.is_none()) { |
| 74 | +- return false; |
| 75 | +- } |
| 76 | +- DCHECK(stored_value.is_dict()); |
| 77 | +- DCHECK(stored_value.GetDict().contains( |
| 78 | +- safe_browsing::kSuspiciousNotificationShowOriginalKey)); |
| 79 | +- return stored_value.GetDict() |
| 80 | +- .FindBool(safe_browsing::kSuspiciousNotificationShowOriginalKey) |
| 81 | +- .value_or(false); |
| 82 | ++ return false; |
| 83 | + } |
| 84 | + |
| 85 | + // Return true if the url should be considered for suspicious content |
67 | 86 | --- a/components/safe_browsing/buildflags.gni |
68 | 87 | +++ b/components/safe_browsing/buildflags.gni |
69 | 88 | @@ -20,6 +20,7 @@ declare_args() { |
|
0 commit comments