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

Side by Side Diff: net/url_request/url_request_throttler_header_adapter.h

Issue 623213004: replace OVERRIDE and FINAL with override and final in net/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo unwanted change in comment Created 6 years, 2 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_ 5 #ifndef NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_ 6 #define NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "net/url_request/url_request_throttler_header_interface.h" 12 #include "net/url_request/url_request_throttler_header_interface.h"
13 13
14 namespace net { 14 namespace net {
15 15
16 class HttpResponseHeaders; 16 class HttpResponseHeaders;
17 17
18 // Adapter for the HTTP header interface of the URL request throttler component. 18 // Adapter for the HTTP header interface of the URL request throttler component.
19 class URLRequestThrottlerHeaderAdapter 19 class URLRequestThrottlerHeaderAdapter
20 : public URLRequestThrottlerHeaderInterface { 20 : public URLRequestThrottlerHeaderInterface {
21 public: 21 public:
22 explicit URLRequestThrottlerHeaderAdapter(HttpResponseHeaders* headers); 22 explicit URLRequestThrottlerHeaderAdapter(HttpResponseHeaders* headers);
23 virtual ~URLRequestThrottlerHeaderAdapter(); 23 virtual ~URLRequestThrottlerHeaderAdapter();
24 24
25 // Implementation of URLRequestThrottlerHeaderInterface 25 // Implementation of URLRequestThrottlerHeaderInterface
26 virtual std::string GetNormalizedValue(const std::string& key) const OVERRIDE; 26 virtual std::string GetNormalizedValue(const std::string& key) const override;
27 virtual int GetResponseCode() const OVERRIDE; 27 virtual int GetResponseCode() const override;
28 28
29 private: 29 private:
30 const scoped_refptr<HttpResponseHeaders> response_header_; 30 const scoped_refptr<HttpResponseHeaders> response_header_;
31 }; 31 };
32 32
33 } // namespace net 33 } // namespace net
34 34
35 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_ 35 #endif // NET_URL_REQUEST_URL_REQUEST_THROTTLER_HEADER_ADAPTER_H_
OLDNEW
« no previous file with comments | « net/url_request/url_request_throttler_entry.h ('k') | net/url_request/url_request_throttler_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698