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

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

Issue 10912132: Move ProxyConfigService construction onto the IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust comments Created 8 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 | Annotate | Revision Log
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 CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_ 5 #ifndef CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_
6 #define CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_ 6 #define CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 } 60 }
61 std::string user_agent() const { 61 std::string user_agent() const {
62 return user_agent_; 62 return user_agent_;
63 } 63 }
64 64
65 private: 65 private:
66 friend class ServiceProcess; 66 friend class ServiceProcess;
67 ServiceURLRequestContextGetter(); 67 ServiceURLRequestContextGetter();
68 virtual ~ServiceURLRequestContextGetter(); 68 virtual ~ServiceURLRequestContextGetter();
69 69
70 void StartTearDown();
71
70 std::string user_agent_; 72 std::string user_agent_;
73 scoped_refptr<base::SingleThreadTaskRunner> glib_task_runner_;
digit1 2012/10/19 10:32:46 I believe that mentioning glib in source files and
71 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 74 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
72 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
73 scoped_ptr<net::URLRequestContext> url_request_context_; 75 scoped_ptr<net::URLRequestContext> url_request_context_;
74 }; 76 };
75 77
76 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_ 78 #endif // CHROME_SERVICE_NET_SERVICE_URL_REQUEST_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698