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

Unified Diff: net/url_request/url_request_throttler_header_adapter.h

Issue 1148603003: Remove X-Chrome-Exponential-Throttling header (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Comments Created 5 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: net/url_request/url_request_throttler_header_adapter.h
diff --git a/net/url_request/url_request_throttler_header_adapter.h b/net/url_request/url_request_throttler_header_adapter.h
deleted file mode 100644
index e5fbcd2fd9789321c65a844cebd07df29f879e31..0000000000000000000000000000000000000000
--- a/net/url_request/url_request_throttler_header_adapter.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright (c) 2011 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 NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
-#define NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
-
-#include <string>
-
-#include "base/compiler_specific.h"
-#include "base/memory/ref_counted.h"
-#include "net/url_request/url_request_throttler_header_interface.h"
-
-namespace net {
-
-class HttpResponseHeaders;
-
-// Adapter for the HTTP header interface of the URL request throttler component.
-class URLRequestThrottlerHeaderAdapter
- : public URLRequestThrottlerHeaderInterface {
- public:
- explicit URLRequestThrottlerHeaderAdapter(HttpResponseHeaders* headers);
- ~URLRequestThrottlerHeaderAdapter() override;
-
- // Implementation of URLRequestThrottlerHeaderInterface
- std::string GetNormalizedValue(const std::string& key) const override;
- int GetResponseCode() const override;
-
- private:
- const scoped_refptr<HttpResponseHeaders> response_header_;
-};
-
-} // namespace net
-
-#endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
« no previous file with comments | « net/url_request/url_request_throttler_entry_interface.h ('k') | net/url_request/url_request_throttler_header_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698