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 3fb54d3d630c78122168737168a34aee8d8411e6..a116026b7e4521a8373d6f936c010cc4ffc09211 100644 |
| --- a/content/public/browser/resource_dispatcher_host_delegate.cc |
| +++ b/content/public/browser/resource_dispatcher_host_delegate.cc |
| @@ -1,16 +1,15 @@ |
| // 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" |
| - |
|
tbansal1
2016/03/08 22:14:43
No need to delete this line break.
RyanSturm
2016/03/10 00:37:58
Done.
|
| #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) { |
| @@ -90,17 +89,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; |
| } |
| +bool ResourceDispatcherHostDelegate::UsedDataReductionProxy( |
| + const net::HostPortPair& proxy_server, |
| + ResourceContext* resource_context) { |
| + return false; |
| +} |
| + |
| ResourceDispatcherHostDelegate::ResourceDispatcherHostDelegate() { |
| } |
| ResourceDispatcherHostDelegate::~ResourceDispatcherHostDelegate() { |
| } |
| } // namespace content |