| Index: components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h
|
| diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h
|
| deleted file mode 100644
|
| index c5fa64a6ca5ef04251ebcfce32ba5adf35aae828..0000000000000000000000000000000000000000
|
| --- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator_test_utils.h
|
| +++ /dev/null
|
| @@ -1,64 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIGURATOR_TEST_UTILS_H_
|
| -#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIGURATOR_TEST_UTILS_H_
|
| -
|
| -#include <string>
|
| -#include <vector>
|
| -
|
| -#include "base/macros.h"
|
| -#include "components/data_reduction_proxy/core/browser/data_reduction_proxy_configurator.h"
|
| -
|
| -namespace net {
|
| -class NetLog;
|
| -class ProxyServer;
|
| -}
|
| -
|
| -namespace data_reduction_proxy {
|
| -
|
| -class DataReductionProxyEventCreator;
|
| -
|
| -class TestDataReductionProxyConfigurator
|
| - : public DataReductionProxyConfigurator {
|
| - public:
|
| - TestDataReductionProxyConfigurator(
|
| - net::NetLog* net_log,
|
| - DataReductionProxyEventCreator* event_creator);
|
| - ~TestDataReductionProxyConfigurator() override;
|
| -
|
| - // Overrides of DataReductionProxyConfigurator
|
| - void Enable(bool secure_transport_restricted,
|
| - const std::vector<net::ProxyServer>& proxies_for_http) override;
|
| -
|
| - void Disable() override;
|
| -
|
| - bool enabled() const {
|
| - return enabled_;
|
| - }
|
| -
|
| - bool restricted() const {
|
| - return restricted_;
|
| - }
|
| -
|
| - // Returns the proxies in use by the proxy config. May include the DIRECT
|
| - // proxy.
|
| - const std::vector<net::ProxyServer>& proxies_for_http() const;
|
| -
|
| - private:
|
| - // True if the proxy has been enabled, i.e., only after |Enable| has been
|
| - // called. Defaults to false.
|
| - bool enabled_;
|
| -
|
| - // Describes whether the proxy has been put in a restricted mode. True if
|
| - // |Enable| is called with |secure_transport_restricted| set to true. Defaults
|
| - // to false.
|
| - bool restricted_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(TestDataReductionProxyConfigurator);
|
| -};
|
| -
|
| -} // namespace data_reduction_proxy
|
| -
|
| -#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIGURATOR_TEST_UTILS_H_
|
|
|