Make API_ABUSE Safe Browsing list platform-specific.
Update GetChromeUrlApiId() to use {WINDOWS|LINUX|OSX|ANDROID}_PLATFORM as |platform_type|, based on the current platform, instead of CHROME_PLATFORM being hard-coded. This change also necessitates relaxing the check in V4GetHashProtocolManager::ParseMetadata to expect permission-related metadata to be present for each of the above, now platform-specific, versions of the API_ABUSE list. Bug: 1028642 Change-Id: I88f917f04368470b77eca647972883d859fdcbc9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1945823 Commit-Queue: Balazs Engedy <engedy@chromium.org> Reviewed-by:Varun Khaneja <vakh@chromium.org> Cr-Commit-Position: refs/heads/master@{#721296}
Showing
Please register or sign in to comment