-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Extensions] Move PingData and FetchPriority to a separate file
PingData is a small struct which contains some info to return back to the update service (most likely, Chrome Web Store backends). This struct is used in ExtensionDownloaderDelegate (because ExtensionDownloader doesn't have required data and has to ask delegate for it) and some other places. FetchPriority is a simple enum to denote priority for downloading or updating an extension. Priority affects corresponding header when making request to the update server and also priority ExtensionDownloader assigns to requests for network layer. Both of these are used widely outside of ManifestFetchData (where they were defined), therefore it makes sense to move them into a separate file. Bug: b:223166166 Change-Id: I96d96c2d1290e69032302607ec2b42101b340eba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3595826 Commit-Queue: Oleg Davydov <burunduk@chromium.org> Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1001422}
- Loading branch information
Showing
16 changed files
with
257 additions
and
268 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
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.