-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This CL creates a result class for the Safe Browsing module of Safety Hub. Additionally, it introduces a number of improvements to the Safety Hub service in general, in particular how results are created based on dict values. This now uses a simple factory method instead of a lot of boilerplate code. Furthermore, the menu notification service now uses a bound method to obtain the latest result from services (or other places) instead of requiring these need to originate from a Safety Hub service. Bug: 1443466 Change-Id: I1276d9c266dc73c5bfd865013c53c7820ad8dce3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4953199 Reviewed-by: Side YILMAZ <sideyilmaz@chromium.org> Commit-Queue: Tom Van Goethem <tov@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1215408}
- Loading branch information
1 parent
04c0bec
commit 026f4e8
Showing
24 changed files
with
389 additions
and
142 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
...pp/settings_strings_grdp/IDS_SETTINGS_SAFETY_HUB_SAFE_BROWSING_MENU_NOTIFICATION.png.sha1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
32ba9088e34d6306ce1387a1504fd1acca3c1d76 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.