Chromium Code Reviews| Index: components/data_reduction_proxy/content/browser/content_lofi_decider.cc |
| diff --git a/components/data_reduction_proxy/content/browser/content_lofi_decider.cc b/components/data_reduction_proxy/content/browser/content_lofi_decider.cc |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b7fb0e3e37dd45ff0b2f5e8289640ec78dd23526 |
| --- /dev/null |
| +++ b/components/data_reduction_proxy/content/browser/content_lofi_decider.cc |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 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 "components/data_reduction_proxy/content/browser/content_lofi_decider.h" |
| + |
| +#include "components/data_reduction_proxy/core/common/data_reduction_proxy_params.h" |
|
bengr
2015/10/12 21:06:41
None of these includes is needed.
megjablon
2015/10/12 23:08:04
Done.
|
| +#include "content/public/browser/resource_request_info.h" |
| +#include "net/url_request/url_request.h" |
| + |
| +namespace data_reduction_proxy { |
| + |
| +ContentLoFiDecider::ContentLoFiDecider() {} |
| + |
| +ContentLoFiDecider::~ContentLoFiDecider() {} |
| + |
| +bool ContentLoFiDecider::IsUsingLoFiMode(const net::URLRequest& request) const { |
| + // TODO: will be check of ResourceRequestInfo::IsUsingLoFi |
| + return false; |
| +} |
| + |
| +} // namespace data_reduction_roxy |
|
bengr
2015/10/12 21:06:41
roxy -> proxy
megjablon
2015/10/12 23:08:04
Done.
|