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

Unified Diff: mash/quick_launch/quick_launch.cc

Issue 2390013002: Rename mojo: to service: (Closed)
Patch Set: . Created 4 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
« no previous file with comments | « mash/quick_launch/manifest.json ('k') | mash/screenlock/manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mash/quick_launch/quick_launch.cc
diff --git a/mash/quick_launch/quick_launch.cc b/mash/quick_launch/quick_launch.cc
index 337b39d80d708a02f5c720adfac56c50d2d4d26a..dbd8a1fc75a5d43de0e99bae3d39391b6a9ed23e 100644
--- a/mash/quick_launch/quick_launch.cc
+++ b/mash/quick_launch/quick_launch.cc
@@ -114,8 +114,8 @@ class QuickLaunchUI : public views::WidgetDelegateView,
base::string16 working;
base::TrimWhitespace(input, base::TRIM_ALL, &working);
GURL url(working);
- if (url.scheme() != "mojo" && url.scheme() != "exe")
- working = base::ASCIIToUTF16("mojo:") + working;
+ if (url.scheme() != "service" && url.scheme() != "exe")
+ working = base::ASCIIToUTF16("service:") + working;
return base::UTF16ToUTF8(working);
}
@@ -188,7 +188,7 @@ void QuickLaunch::Launch(uint32_t what, mojom::LaunchMode how) {
return;
}
catalog::mojom::CatalogPtr catalog;
- connector()->ConnectToInterface("mojo:catalog", &catalog);
+ connector()->ConnectToInterface("service:catalog", &catalog);
views::Widget* window = views::Widget::CreateWindowWithContextAndBounds(
new QuickLaunchUI(this, connector(), std::move(catalog)),
« no previous file with comments | « mash/quick_launch/manifest.json ('k') | mash/screenlock/manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698