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

Side by Side Diff: content/shell/shell_resource_context.cc

Issue 10912132: Move ProxyConfigService construction onto the IO thread. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove extra blank line 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 #include "content/shell/shell_resource_context.h" 5 #include "content/shell/shell_resource_context.h"
6 #include "content/shell/shell_url_request_context_getter.h" 6 #include "content/shell/shell_url_request_context_getter.h"
7 7
8 namespace content { 8 namespace content {
9 9
10 ShellResourceContext::ShellResourceContext( 10 ShellResourceContext::ShellResourceContext(
11 ShellURLRequestContextGetter* getter) 11 ShellURLRequestContextGetter* getter)
12 : getter_(getter) { 12 : getter_(getter) {
13 } 13 }
14 14
15 ShellResourceContext::~ShellResourceContext() { 15 ShellResourceContext::~ShellResourceContext() {
16 } 16 }
17 17
18 void ShellResourceContext::StartTearDown() {
19 getter_->StartTearDown();
20 }
21
18 net::HostResolver* ShellResourceContext::GetHostResolver() { 22 net::HostResolver* ShellResourceContext::GetHostResolver() {
19 return getter_->host_resolver(); 23 return getter_->host_resolver();
20 } 24 }
21 25
22 net::URLRequestContext* ShellResourceContext::GetRequestContext() { 26 net::URLRequestContext* ShellResourceContext::GetRequestContext() {
23 return getter_->GetURLRequestContext(); 27 return getter_->GetURLRequestContext();
24 } 28 }
25 29
26 } // namespace content 30 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698