Index: sky/services/platform/platform_impl.cc |
diff --git a/sky/services/platform/platform_impl.cc b/sky/services/platform/platform_impl.cc |
index 08ef7f9db76ebbd881edaa5201be805ef6a31147..8eaa29f49a2cc11c6929c8608c6ee97f141e3ec4 100644 |
--- a/sky/services/platform/platform_impl.cc |
+++ b/sky/services/platform/platform_impl.cc |
@@ -4,14 +4,10 @@ |
#include "sky/services/platform/platform_impl.h" |
-#include "sky/services/platform/net_constants.h" |
-#include "sky/services/platform/weburlloader_impl.h" |
- |
namespace sky { |
-PlatformImpl::PlatformImpl(mojo::NetworkServicePtr network_service) |
+PlatformImpl::PlatformImpl() |
: main_thread_task_runner_(base::MessageLoop::current()->task_runner()) { |
- network_service_ = network_service.Pass(); |
} |
PlatformImpl::~PlatformImpl() { |
@@ -25,23 +21,4 @@ base::SingleThreadTaskRunner* PlatformImpl::mainThreadTaskRunner() { |
return main_thread_task_runner_.get(); |
} |
-mojo::NetworkService* PlatformImpl::networkService() { |
- return network_service_.get(); |
-} |
- |
-blink::WebURLLoader* PlatformImpl::createURLLoader() { |
- return new WebURLLoaderImpl(network_service_.get()); |
-} |
- |
-blink::WebURLError PlatformImpl::cancelledError(const blink::WebURL& url) |
- const { |
- blink::WebURLError error; |
- error.domain = blink::WebString::fromUTF8(kNetErrorDomain); |
- error.reason = kNetErrorAborted; |
- error.unreachableURL = url; |
- error.staleCopyInCache = false; |
- error.isCancellation = true; |
- return error; |
-} |
- |
} // namespace sky |