Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(509)

Unified Diff: components/data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h

Issue 2025443002: Refactoring data reduction proxy some methods to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixing nits Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h
diff --git a/components/data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h b/components/data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h
deleted file mode 100644
index 66575b2915ddcf717d698275b3dd24a6faf4fa17..0000000000000000000000000000000000000000
--- a/components/data_reduction_proxy/core/common/data_reduction_proxy_client_config_parser.h
+++ /dev/null
@@ -1,39 +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_COMMON_DATA_REDUCTION_PROXY_CLIENT_CONFIG_RESPONSE_PARSER_H_
-#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CLIENT_CONFIG_RESPONSE_PARSER_H_
-
-#include "components/data_reduction_proxy/proto/client_config.pb.h"
-#include "net/proxy/proxy_server.h"
-
-namespace base {
-class Time;
-class TimeDelta;
-}
-
-namespace data_reduction_proxy {
-
-namespace config_parser {
-
-// Returns the |net::ProxyServer::Scheme| for a ProxyServer_ProxyScheme.
-net::ProxyServer::Scheme SchemeFromProxyScheme(
- ProxyServer_ProxyScheme proxy_scheme);
-
-// Returns the ProxyServer_ProxyScheme for a |net::ProxyServer::Scheme|.
-ProxyServer_ProxyScheme ProxySchemeFromScheme(net::ProxyServer::Scheme scheme);
-
-// Returns the |Duration| representation of |time_delta|.
-// As an optimization, this currently does not population duration.nanos;
-// the resolution is seconds.
-void TimeDeltatoDuration(const base::TimeDelta& time_delta, Duration* duration);
-
-// Returns the |base::TimeDelta| representation of |duration|.
-base::TimeDelta DurationToTimeDelta(const Duration& duration);
-
-} // namespace config_parser
-
-} // namespace data_reduction_proxy
-
-#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_COMMON_DATA_REDUCTION_PROXY_CLIENT_CONFIG_RESPONSE_PARSER_H_

Powered by Google App Engine
This is Rietveld 408576698