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

Side by Side Diff: remoting/host/url_request_context.h

Issue 9958145: Audit the destructors of classes derived from net::URLRequestContextGetter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: ToT Created 8 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_url_request_context_getter.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_HOST_URL_REQUEST_CONTEXT_H_ 5 #ifndef REMOTING_HOST_URL_REQUEST_CONTEXT_H_
6 #define REMOTING_HOST_URL_REQUEST_CONTEXT_H_ 6 #define REMOTING_HOST_URL_REQUEST_CONTEXT_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 28 matching lines...) Expand all
39 class URLRequestContextGetter : public net::URLRequestContextGetter { 39 class URLRequestContextGetter : public net::URLRequestContextGetter {
40 public: 40 public:
41 URLRequestContextGetter(MessageLoop* io_message_loop, 41 URLRequestContextGetter(MessageLoop* io_message_loop,
42 MessageLoop* file_message_loop); 42 MessageLoop* file_message_loop);
43 43
44 // Overridden from net::URLRequestContextGetter: 44 // Overridden from net::URLRequestContextGetter:
45 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 45 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
46 virtual scoped_refptr<base::MessageLoopProxy> 46 virtual scoped_refptr<base::MessageLoopProxy>
47 GetIOMessageLoopProxy() const OVERRIDE; 47 GetIOMessageLoopProxy() const OVERRIDE;
48 48
49 private: 49 protected:
50 virtual ~URLRequestContextGetter(); 50 virtual ~URLRequestContextGetter();
51 51
52 private:
52 scoped_refptr<net::URLRequestContext> url_request_context_; 53 scoped_refptr<net::URLRequestContext> url_request_context_;
53 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 54 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
54 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 55 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter); 57 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
57 }; 58 };
58 59
59 } // namespace remoting 60 } // namespace remoting
60 61
61 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_ 62 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « content/shell/shell_url_request_context_getter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698