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

Side by Side Diff: chrome/service/net/service_url_request_context_getter.h

Issue 628083002: Replacing the OVERRIDE with override and FINAL with final in chrome/service (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 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 CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_ 5 #ifndef CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
6 #define CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_ 6 #define CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 12 matching lines...) Expand all
23 namespace base { 23 namespace base {
24 class MessageLoopProxy; 24 class MessageLoopProxy;
25 } 25 }
26 26
27 namespace net { 27 namespace net {
28 class ProxyConfigService; 28 class ProxyConfigService;
29 } 29 }
30 30
31 class ServiceURLRequestContextGetter : public net::URLRequestContextGetter { 31 class ServiceURLRequestContextGetter : public net::URLRequestContextGetter {
32 public: 32 public:
33 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 33 virtual net::URLRequestContext* GetURLRequestContext() override;
34 virtual scoped_refptr<base::SingleThreadTaskRunner> 34 virtual scoped_refptr<base::SingleThreadTaskRunner>
35 GetNetworkTaskRunner() const OVERRIDE; 35 GetNetworkTaskRunner() const override;
36 36
37 void set_user_agent(const std::string& ua) { 37 void set_user_agent(const std::string& ua) {
38 user_agent_ = ua; 38 user_agent_ = ua;
39 } 39 }
40 std::string user_agent() const { 40 std::string user_agent() const {
41 return user_agent_; 41 return user_agent_;
42 } 42 }
43 43
44 private: 44 private:
45 friend class ServiceProcess; 45 friend class ServiceProcess;
46 ServiceURLRequestContextGetter(); 46 ServiceURLRequestContextGetter();
47 virtual ~ServiceURLRequestContextGetter(); 47 virtual ~ServiceURLRequestContextGetter();
48 48
49 std::string user_agent_; 49 std::string user_agent_;
50 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 50 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
51 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 51 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
52 scoped_ptr<net::URLRequestContext> url_request_context_; 52 scoped_ptr<net::URLRequestContext> url_request_context_;
53 }; 53 };
54 54
55 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_ 55 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « chrome/service/cloud_print/printer_job_queue_handler.cc ('k') | chrome/service/service_ipc_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698