Files
brave-core/components/api_request_helper
Nick von Pentz d518490fdf Add enable_cache parameter to APIRequestHelper (#17958)
* Add enable_cache parameter to APIRequestHelper

Passing this parameter will not add the BYPASS_CACHE and DISABLE_CACHE
load flags to the request which were previously set for all requests.

* Add testcase for when enable_cache is set and not set

* Remove enable_cache option from Request method that does not use APIRequestOptions

* Add comment explaining APIRequestHelper::Request method will be deprecated

* Remove enable_cache parameter from Download method

Instead, we will create a new Download method that accepts an
APIRequestOptions parameter when there is a caller for it
https://github.com/brave/brave-browser/issues/29625.
2023-04-11 21:29:17 +02:00
..