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

Unified Diff: content/child/blink_platform_impl.cc

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 side-by-side diff with in-line comments
Download patch
Index: content/child/blink_platform_impl.cc
diff --git a/content/child/blink_platform_impl.cc b/content/child/blink_platform_impl.cc
index 4cbcaf9b2963b2b59a74aef71d83d62d766cb250..708e4683fb4708860128ba0bbb980ac0078ff1fe 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -54,6 +54,7 @@
#include "content/child/websocket_bridge.h"
#include "content/child/worker_thread_registry.h"
#include "content/public/common/content_client.h"
+#include "content/public/common/service_registry.h"
#include "net/base/data_url.h"
#include "net/base/net_errors.h"
#include "third_party/WebKit/public/platform/WebData.h"
@@ -391,6 +392,9 @@ void BlinkPlatformImpl::InternalInit() {
ChildThreadImpl::current()->service_registry()));
main_thread_sync_provider_.reset(
new BackgroundSyncProvider(main_thread_task_runner_.get()));
+
+ ServiceRegistry* registry = ChildThreadImpl::current()->service_registry();
+ registry->ConnectToRemoteService(mojo::GetProxy(&url_loader_factory_));
}
}

Powered by Google App Engine
This is Rietveld 408576698