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

Unified Diff: sky/viewer/viewer.cc

Issue 1146813013: Sky: Use the authenticated network service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix formatting Created 5 years, 6 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
« no previous file with comments | « sky/viewer/content_handler_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/viewer.cc
diff --git a/sky/viewer/viewer.cc b/sky/viewer/viewer.cc
index ce3f949b017ba8ed1f96442296b8079e7e9380e8..6494bb2a3a2839301c0fd978b10dd134d5b405a1 100644
--- a/sky/viewer/viewer.cc
+++ b/sky/viewer/viewer.cc
@@ -38,7 +38,8 @@ class Viewer : public mojo::ApplicationDelegate,
blink::WebRuntimeFeatures::enableObservatory(!RuntimeFlags::Get().testing());
mojo::NetworkServicePtr network_service;
- app->ConnectToService("mojo:network_service", &network_service);
+ app->ConnectToService("mojo:authenticated_network_service",
+ &network_service);
platform_impl_.reset(new PlatformImpl(network_service.Pass()));
blink::initialize(platform_impl_.get());
« no previous file with comments | « sky/viewer/content_handler_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698