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

Unified Diff: mojo/examples/wm_flow/app/app.cc

Issue 668483002: Change mojo URLs from mojo://mojo_foo to mojo://foo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 2 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: mojo/examples/wm_flow/app/app.cc
diff --git a/mojo/examples/wm_flow/app/app.cc b/mojo/examples/wm_flow/app/app.cc
index 658433cd34b7c80aebbf2b4d29eb6024e41ee739..d9a8da27b838b3b76ecc1a011d7df03d3676f271 100644
--- a/mojo/examples/wm_flow/app/app.cc
+++ b/mojo/examples/wm_flow/app/app.cc
@@ -102,7 +102,7 @@ class WMFlowApp : public mojo::ApplicationDelegate,
// Expose some services to the embeddee...
registry->AddService(&embedder_factory_);
scoped_ptr<mojo::ServiceProvider> imported =
- embed->Embed("mojo:mojo_wm_flow_embedded", registry.Pass());
+ embed->Embed("mojo:wm_flow_embedded", registry.Pass());
mojo::ConnectToService(imported.get(), &embeddee_);
embeddee_->HelloBack(base::Bind(&WMFlowApp::HelloBackAck,
base::Unretained(this)));
@@ -133,9 +133,7 @@ class WMFlowApp : public mojo::ApplicationDelegate,
printf("HelloBack() ack'ed\n");
}
- void OpenNewWindow() {
- view_manager_context_->Embed("mojo:mojo_wm_flow_app");
- }
+ void OpenNewWindow() { view_manager_context_->Embed("mojo:wm_flow_app"); }
mojo::Shell* shell_;
int embed_count_;

Powered by Google App Engine
This is Rietveld 408576698