Chromium Code Reviews| Index: content/public/browser/resource_dispatcher_host_delegate.cc |
| diff --git a/content/public/browser/resource_dispatcher_host_delegate.cc b/content/public/browser/resource_dispatcher_host_delegate.cc |
| index b30b6b468fd12126069a456f7c407c90cf34d3ef..9aceae0f17c6c644dfb7ddfe40cf7d333cc3a6a4 100644 |
| --- a/content/public/browser/resource_dispatcher_host_delegate.cc |
| +++ b/content/public/browser/resource_dispatcher_host_delegate.cc |
| @@ -1,16 +1,17 @@ |
| // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| #include "content/public/browser/resource_dispatcher_host_delegate.h" |
| +#include "content/public/browser/navigation_data.h" |
|
bengr
2016/04/29 21:14:23
Forward declare instead.
RyanSturm
2016/05/02 19:52:22
Because the method using this is returning a std::
|
| #include "content/public/browser/resource_request_info.h" |
| #include "content/public/browser/stream_info.h" |
| namespace content { |
| bool ResourceDispatcherHostDelegate::ShouldBeginRequest( |
| const std::string& method, |
| const GURL& url, |
| ResourceType resource_type, |
| ResourceContext* resource_context) { |
| @@ -89,17 +90,23 @@ void ResourceDispatcherHostDelegate::OnRequestRedirected( |
| void ResourceDispatcherHostDelegate::RequestComplete( |
| net::URLRequest* url_request) { |
| } |
| bool ResourceDispatcherHostDelegate::ShouldEnableLoFiMode( |
| const net::URLRequest& url_request, |
| content::ResourceContext* resource_context) { |
| return false; |
| } |
| +std::unique_ptr<content::NavigationData> |
| +ResourceDispatcherHostDelegate::GetNavigationData( |
| + net::URLRequest* request) const { |
| + return nullptr; |
| +} |
| + |
| ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
| } |
| ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
| } |
| } // namespace content |