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

Unified Diff: sky/viewer/content_handler_impl.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/tests/services/network.sky ('k') | sky/viewer/viewer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/viewer/content_handler_impl.cc
diff --git a/sky/viewer/content_handler_impl.cc b/sky/viewer/content_handler_impl.cc
index b36e4f7cbdc66e0cd07a0be2a9ea2a565da58dc8..5722aa0f6ba450d3112e86edf29f5a5635ab2262 100644
--- a/sky/viewer/content_handler_impl.cc
+++ b/sky/viewer/content_handler_impl.cc
@@ -25,7 +25,7 @@ class SkyApplication : public mojo::Application {
const mojo::String& url) override {
shell_ = shell.Pass();
mojo::ServiceProviderPtr service_provider;
- shell_->ConnectToApplication("mojo:network_service",
+ shell_->ConnectToApplication("mojo:authenticated_network_service",
mojo::GetProxy(&service_provider), nullptr);
mojo::ConnectToService(service_provider.get(), &network_service_);
}
« no previous file with comments | « sky/tests/services/network.sky ('k') | sky/viewer/viewer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698