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

Unified Diff: components/html_viewer/blink_platform_impl.cc

Issue 1290323002: HTMLViewer no longer connects to NetworkService interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 4 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: components/html_viewer/blink_platform_impl.cc
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc
index 083b5c3261707cd5447dc0059f911594b67f6def..fbf40d3ab3ac60db81b7da6b4490111de0f11e08 100644
--- a/components/html_viewer/blink_platform_impl.cc
+++ b/components/html_viewer/blink_platform_impl.cc
@@ -76,11 +76,11 @@ BlinkPlatformImpl::BlinkPlatformImpl(
request->url = mojo::String::From("mojo:network_service");
scoped_ptr<mojo::ApplicationConnection> connection =
app->ConnectToApplication(request.Pass());
- connection->ConnectToService(&network_service_);
+ connection->ConnectToService(&web_socket_factory_);
connection->ConnectToService(&url_loader_factory_);
mojo::CookieStorePtr cookie_store;
- network_service_->GetCookieStore(GetProxy(&cookie_store));
+ connection->ConnectToService(&cookie_store);
cookie_jar_.reset(new WebCookieJarImpl(cookie_store.Pass()));
mojo::ClipboardPtr clipboard;
@@ -180,7 +180,7 @@ blink::WebURLLoader* BlinkPlatformImpl::createURLLoader() {
}
blink::WebSocketHandle* BlinkPlatformImpl::createWebSocketHandle() {
- return new WebSocketHandleImpl(network_service_.get());
+ return new WebSocketHandleImpl(web_socket_factory_.get());
}
blink::WebString BlinkPlatformImpl::userAgent() {
« no previous file with comments | « components/html_viewer/blink_platform_impl.h ('k') | components/html_viewer/html_document_application_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698