| Index: content/public/browser/navigation_throttle.cc
|
| diff --git a/content/public/browser/navigation_throttle.cc b/content/public/browser/navigation_throttle.cc
|
| index ac3b3aa405654418ac2e76e63b2380bc4ed16164..8c628fbbb38f7a15f53606ca4d787ae20187676e 100644
|
| --- a/content/public/browser/navigation_throttle.cc
|
| +++ b/content/public/browser/navigation_throttle.cc
|
| @@ -4,6 +4,8 @@
|
|
|
| #include "content/public/browser/navigation_throttle.h"
|
|
|
| +#include "content/browser/frame_host/navigation_handle_impl.h"
|
| +
|
| namespace content {
|
|
|
| NavigationThrottle::NavigationThrottle(NavigationHandle* navigation_handle)
|
| @@ -20,4 +22,10 @@ NavigationThrottle::WillRedirectRequest() {
|
| return NavigationThrottle::PROCEED;
|
| }
|
|
|
| +void NavigationThrottle::AddExtraHeader(const std::string& name,
|
| + const std::string& value) {
|
| + static_cast<NavigationHandleImpl*>(navigation_handle_)
|
| + ->AddExtraHeader(name, value);
|
| +}
|
| +
|
| } // namespace content
|
|
|