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

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

Issue 1082803004: Pass file task runner to net::URLRequestContextBuilder (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
« no previous file with comments | « no previous file | remoting/base/url_request_context_getter.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"
(...skipping 17 matching lines...) Expand all
28 // Overridden from net::URLRequestContextGetter: 28 // Overridden from net::URLRequestContextGetter:
29 net::URLRequestContext* GetURLRequestContext() override; 29 net::URLRequestContext* GetURLRequestContext() override;
30 scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner() 30 scoped_refptr<base::SingleThreadTaskRunner> GetNetworkTaskRunner()
31 const override; 31 const override;
32 32
33 protected: 33 protected:
34 ~URLRequestContextGetter() override; 34 ~URLRequestContextGetter() override;
35 35
36 private: 36 private:
37 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_; 37 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner_;
38 scoped_refptr<base::SingleThreadTaskRunner> file_task_runner_;
38 scoped_ptr<net::ProxyConfigService> proxy_config_service_; 39 scoped_ptr<net::ProxyConfigService> proxy_config_service_;
39 scoped_ptr<net::URLRequestContext> url_request_context_; 40 scoped_ptr<net::URLRequestContext> url_request_context_;
40 41
41 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter); 42 DISALLOW_COPY_AND_ASSIGN(URLRequestContextGetter);
42 }; 43 };
43 44
44 } // namespace remoting 45 } // namespace remoting
45 46
46 #endif // REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_ 47 #endif // REMOTING_BASE_URL_REQUEST_CONTEXT_GETTER_H_
OLDNEW
« no previous file with comments | « no previous file | remoting/base/url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698