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

Side by Side Diff: chrome/test/chromedriver/net/url_request_context_getter.cc

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 Created 3 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 | « chrome/service/service_process.h ('k') | chrome/test/chromedriver/server/http_handler.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 #include "chrome/test/chromedriver/net/url_request_context_getter.h" 5 #include "chrome/test/chromedriver/net/url_request_context_getter.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/ptr_util.h" 10 #include "base/memory/ptr_util.h"
11 #include "base/single_thread_task_runner.h"
11 #include "net/proxy/proxy_config_service_fixed.h" 12 #include "net/proxy/proxy_config_service_fixed.h"
12 #include "net/url_request/url_request_context.h" 13 #include "net/url_request/url_request_context.h"
13 #include "net/url_request/url_request_context_builder.h" 14 #include "net/url_request/url_request_context_builder.h"
14 15
15 URLRequestContextGetter::URLRequestContextGetter( 16 URLRequestContextGetter::URLRequestContextGetter(
16 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner) 17 scoped_refptr<base::SingleThreadTaskRunner> network_task_runner)
17 : network_task_runner_(network_task_runner) { 18 : network_task_runner_(network_task_runner) {
18 } 19 }
19 20
20 net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() { 21 net::URLRequestContext* URLRequestContextGetter::GetURLRequestContext() {
(...skipping 10 matching lines...) Expand all
31 } 32 }
32 return url_request_context_.get(); 33 return url_request_context_.get();
33 } 34 }
34 35
35 scoped_refptr<base::SingleThreadTaskRunner> 36 scoped_refptr<base::SingleThreadTaskRunner>
36 URLRequestContextGetter::GetNetworkTaskRunner() const { 37 URLRequestContextGetter::GetNetworkTaskRunner() const {
37 return network_task_runner_; 38 return network_task_runner_;
38 } 39 }
39 40
40 URLRequestContextGetter::~URLRequestContextGetter() {} 41 URLRequestContextGetter::~URLRequestContextGetter() {}
OLDNEW
« no previous file with comments | « chrome/service/service_process.h ('k') | chrome/test/chromedriver/server/http_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698