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

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

Issue 10299002: Stop refcounting URLRequestContext. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Initialize to NULL Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/websockets/websocket_throttle_unittest.cc ('k') | remoting/host/url_request_context.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 (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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 // Overridden from net::URLRequestContextGetter: 46 // Overridden from net::URLRequestContextGetter:
47 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE; 47 virtual net::URLRequestContext* GetURLRequestContext() OVERRIDE;
48 virtual scoped_refptr<base::MessageLoopProxy> 48 virtual scoped_refptr<base::MessageLoopProxy>
49 GetIOMessageLoopProxy() const OVERRIDE; 49 GetIOMessageLoopProxy() const OVERRIDE;
50 50
51 protected: 51 protected:
52 virtual ~URLRequestContextGetter(); 52 virtual ~URLRequestContextGetter();
53 53
54 private: 54 private:
55 scoped_refptr<net::URLRequestContext> url_request_context_;
56 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_; 55 scoped_refptr<base::MessageLoopProxy> io_message_loop_proxy_;
57 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 56 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
57 scoped_ptr<net::URLRequestContext> url_request_context_;
58 58
59 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter); 59 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
60 }; 60 };
61 61
62 } // namespace remoting 62 } // namespace remoting
63 63
64 #endif // REMOTING_HOST_URL_REQUEST_CONTEXT_H_ 64 #endif // REMOTING_HOST_URL_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « net/websockets/websocket_throttle_unittest.cc ('k') | remoting/host/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698