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

Unified Diff: components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h

Issue 1020863009: Revert of Add ClientConfig proto, and JSON generation/parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/browser/data_reduction_proxy_config_service_client.h
diff --git a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h b/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
deleted file mode 100644
index 648cee4ab009cf8a34cddef19823fb09236b8f48..0000000000000000000000000000000000000000
--- a/components/data_reduction_proxy/core/browser/data_reduction_proxy_config_service_client.h
+++ /dev/null
@@ -1,48 +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_CONFIG_SERVICE_CLIENT_H_
-#define COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG_SERVICE_CLIENT_H_
-
-#include <string>
-
-#include "base/gtest_prod_util.h"
-#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
-
-namespace data_reduction_proxy {
-
-class DataReductionProxyParams;
-class DataReductionProxyRequestOptions;
-
-// Retrieves the Data Reduction Proxy configuration from a remote service. This
-// object lives on the IO thread.
-class DataReductionProxyConfigServiceClient {
- public:
- // The caller must ensure that all parameters remain alive for the lifetime of
- // the |DataReductionProxyConfigClient|.
- DataReductionProxyConfigServiceClient(
- DataReductionProxyParams* params,
- DataReductionProxyRequestOptions* request_options);
-
- ~DataReductionProxyConfigServiceClient();
-
- private:
- FRIEND_TEST_ALL_PREFIXES(DataReductionProxyConfigClientTest,
- TestConstructStaticResponse);
-
- // Constructs a synthetic response based on |params_|.
- std::string ConstructStaticResponse() const;
-
- // The caller must ensure that the |params_| outlives this instance.
- DataReductionProxyParams* params_;
-
- // The caller must ensure that the |request_options_| outlives this instance.
- DataReductionProxyRequestOptions* request_options_;
-
- DISALLOW_COPY_AND_ASSIGN(DataReductionProxyConfigServiceClient);
-};
-
-} // namespace data_reduction_proxy
-#endif // COMPONENTS_DATA_REDUCTION_PROXY_CORE_BROWSER_DATA_REDUCTION_PROXY_CONFIG_SERVICE_CLIENT_H_

Powered by Google App Engine
This is Rietveld 408576698