| Index: content/browser/loader/navigation_resource_handler.cc
|
| diff --git a/content/browser/loader/navigation_resource_handler.cc b/content/browser/loader/navigation_resource_handler.cc
|
| index 94e046dbf0c74bf8044e6cd93484c3cab38563fa..cc01ba055ae26df948042e3d57eee7b227d173aa 100644
|
| --- a/content/browser/loader/navigation_resource_handler.cc
|
| +++ b/content/browser/loader/navigation_resource_handler.cc
|
| @@ -40,7 +40,10 @@ void NavigationResourceHandler::Cancel() {
|
| core_ = nullptr;
|
| }
|
|
|
| -void NavigationResourceHandler::FollowRedirect() {
|
| +void NavigationResourceHandler::FollowRedirect(
|
| + const std::vector<std::pair<std::string, std::string>>& extra_headers) {
|
| + for (auto header : extra_headers)
|
| + request()->SetExtraRequestHeaderByName(header.first, header.second, true);
|
| controller()->Resume();
|
| }
|
|
|
|
|