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

Unified Diff: net/url_request/url_request_throttler_header_adapter.cc

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.cc
diff --git a/net/url_request/url_request_throttler_header_adapter.cc b/net/url_request/url_request_throttler_header_adapter.cc
deleted file mode 100644
index 51bbc746fac4881eee0950e68268e856cf9ed6de..0000000000000000000000000000000000000000
--- a/net/url_request/url_request_throttler_header_adapter.cc
+++ /dev/null
@@ -1,29 +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.
-
-#include "net/url_request/url_request_throttler_header_adapter.h"
-
-#include "net/http/http_response_headers.h"
-
-namespace net {
-
-URLRequestThrottlerHeaderAdapter::URLRequestThrottlerHeaderAdapter(
- HttpResponseHeaders* headers)
- : response_header_(headers) {
-}
-
-URLRequestThrottlerHeaderAdapter::~URLRequestThrottlerHeaderAdapter() {}
-
-std::string URLRequestThrottlerHeaderAdapter::GetNormalizedValue(
- const std::string& key) const {
- std::string return_value;
- response_header_->GetNormalizedHeader(key, &return_value);
- return return_value;
-}
-
-int URLRequestThrottlerHeaderAdapter::GetResponseCode() const {
- return response_header_->response_code();
-}
-
-} // namespace net
« no previous file with comments | « net/url_request/url_request_throttler_header_adapter.h ('k') | net/url_request/url_request_throttler_header_interface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698