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

Side by Side Diff: blimp/engine/app/blimp_system_url_request_context_getter.cc

Issue 2133083002: Remove all remaining traces of MessageLoopProxy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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 | « base/tracked_objects.h ('k') | blimp/engine/app/blimp_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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "blimp/engine/app/blimp_system_url_request_context_getter.h" 5 #include "blimp/engine/app/blimp_system_url_request_context_getter.h"
6 6
7 #include <utility> 7 #include <utility>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 24 matching lines...) Expand all
35 // user request context getter. http://crbug/609981 35 // user request context getter. http://crbug/609981
36 builder.set_proxy_service(net::ProxyService::CreateDirect()); 36 builder.set_proxy_service(net::ProxyService::CreateDirect());
37 builder.set_user_agent(GetBlimpEngineUserAgent()); 37 builder.set_user_agent(GetBlimpEngineUserAgent());
38 url_request_context_ = builder.Build(); 38 url_request_context_ = builder.Build();
39 } 39 }
40 return url_request_context_.get(); 40 return url_request_context_.get();
41 } 41 }
42 42
43 scoped_refptr<base::SingleThreadTaskRunner> 43 scoped_refptr<base::SingleThreadTaskRunner>
44 BlimpSystemURLRequestContextGetter::GetNetworkTaskRunner() const { 44 BlimpSystemURLRequestContextGetter::GetNetworkTaskRunner() const {
45 return content::BrowserThread::GetMessageLoopProxyForThread( 45 return content::BrowserThread::GetTaskRunnerForThread(
46 content::BrowserThread::IO); 46 content::BrowserThread::IO);
47 } 47 }
48 48
49 } // namespace engine 49 } // namespace engine
50 } // namespace blimp 50 } // namespace blimp
OLDNEW
« no previous file with comments | « base/tracked_objects.h ('k') | blimp/engine/app/blimp_url_request_context_getter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698