summaryrefslogtreecommitdiffstats
path: root/lib/resource_context_qt.cpp
diff options
context:
space:
mode:
authorPierre Rossi <pierre.rossi@digia.com>2013-06-10 19:33:44 +0200
committerPierre Rossi <pierre.rossi@digia.com>2013-06-10 19:33:44 +0200
commit6555874455eb23722974b06b388c3cbde0a24f95 (patch)
treea8d3a3de82ba8c151e8667bec426cc6d21004554 /lib/resource_context_qt.cpp
parentd50a091095f49032587fef97034ba1210a1a8f0f (diff)
And shell is out !
Introduce a few more bits of our own very basic implementations (URLRequestContextGetter and NetworkDelegate subclasses). Still need to figure out the appropriate dependancies in blinq.gypi
Diffstat (limited to 'lib/resource_context_qt.cpp')
-rw-r--r--lib/resource_context_qt.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/resource_context_qt.cpp b/lib/resource_context_qt.cpp
index ca680e6c1..52892feab 100644
--- a/lib/resource_context_qt.cpp
+++ b/lib/resource_context_qt.cpp
@@ -2,14 +2,12 @@
#include "net/url_request/url_request_context_getter.h"
-#include "content/shell/shell_url_request_context_getter.h"
-
#include "browser_context_qt.h"
net::HostResolver *ResourceContextQt::GetHostResolver()
{
CHECK(getter_);
- return getter_->host_resolver();
+ return getter_->GetURLRequestContext()->host_resolver();
}
net::URLRequestContext* ResourceContextQt::GetRequestContext()
@@ -19,7 +17,7 @@ net::URLRequestContext* ResourceContextQt::GetRequestContext()
return context->GetRequestContext()->GetURLRequestContext();
}
-void ResourceContextQt::set_url_request_context_getter(content::ShellURLRequestContextGetter *getter)
+void ResourceContextQt::set_url_request_context_getter(net::URLRequestContextGetter *getter)
{
getter_ = getter;
}