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

Unified Diff: examples/authentication_demo/google_authentication_demo.cc

Issue 1916233002: Mark ApplicationImpl::ConnectTo{Application,Service}() as deprecated. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 8 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 | « examples/audio_play_test/play_wav.cc ('k') | examples/bank_app/bank.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: examples/authentication_demo/google_authentication_demo.cc
diff --git a/examples/authentication_demo/google_authentication_demo.cc b/examples/authentication_demo/google_authentication_demo.cc
index e3a1869a3e139c14ec235d5efe3325fd099090be..38caaf2cef1ec56b6928a571687c8f099e34ae06 100644
--- a/examples/authentication_demo/google_authentication_demo.cc
+++ b/examples/authentication_demo/google_authentication_demo.cc
@@ -23,7 +23,8 @@ class GoogleAuthApp : public mojo::ApplicationDelegate {
void Initialize(mojo::ApplicationImpl* app) override {
DLOG(INFO) << "Connecting to authentication service...";
- app->ConnectToService("mojo:authentication", &authentication_service_);
+ app->ConnectToServiceDeprecated("mojo:authentication",
+ &authentication_service_);
mojo::Array<mojo::String> scopes;
scopes.push_back("profile");
« no previous file with comments | « examples/audio_play_test/play_wav.cc ('k') | examples/bank_app/bank.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698