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

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 fc4bb874db241eb9c0e89e03a068aeab7c134a4c..fb539813a6e09b17bd3b7f3d08745a35984ff519 100644
--- a/content/child/blink_platform_impl.cc
+++ b/content/child/blink_platform_impl.cc
@@ -55,6 +55,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"
@@ -394,6 +395,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