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

Side by Side Diff: remoting/base/url_request_context_getter.h

Issue 628753002: replace OVERRIDE and FINAL with override and final in remoting/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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
« no previous file with comments | « remoting/base/resources_unittest.cc ('k') | remoting/base/vlog_net_log.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
6 #define REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "net/url_request/url_request_context_getter.h" 10 #include "net/url_request/url_request_context_getter.h"
11 11
12 namespace base { 12 namespace base {
13 class SingleThreadTaskRunner; 13 class SingleThreadTaskRunner;
14 } // namespace base 14 } // namespace base
15 15
16 namespace net { 16 namespace net {
17 class ProxyConfigService; 17 class ProxyConfigService;
18 } // namespace net 18 } // namespace net
19 19
20 namespace remoting { 20 namespace remoting {
21 21
22 class URLRequestContextGetter : public net::URLRequestContextGetter { 22 class URLRequestContextGetter : public net::URLRequestContextGetter {
23 public: 23 public:
24 URLRequestContextGetter( 24 URLRequestContextGetter(
25 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner, 25 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner,
26 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner); 26 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner);
27 27
28 // Overridden from net::URLRequestContextGetter: 28 // Overridden from net::URLRequestContextGetter:
29 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 29 virtual net::URLRequestContext* GetURLRequestContext() override;
30 virtual scoped_refptr<base::SingleThreadTaskRunner> 30 virtual scoped_refptr<base::SingleThreadTaskRunner>
31 GetNetworkTaskRunner() const OVERRIDE; 31 GetNetworkTaskRunner() const override;
32 32
33 protected: 33 protected:
34 virtual ~URLRequestContextGetter(); 34 virtual ~URLRequestContextGetter();
35 35
36 private: 36 private:
37 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 37 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
38 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 38 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
39 scoped_ptr<net::URLRequestContext> url_request_context_; 39 scoped_ptr<net::URLRequestContext> url_request_context_;
40 40
41 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter); 41 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
42 }; 42 };
43 43
44 } // namespace remoting 44 } // namespace remoting
45 45
46 #endif // REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_ 46 #endif // REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « remoting/base/resources_unittest.cc ('k') | remoting/base/vlog_net_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698