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

Unified Diff: mash/quick_launch/quick_launch.cc

Issue 2509853002: Convert //mash to define service names in mojom (Closed)
Patch Set: . Created 4 years, 1 month 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/quick_launch.h ('k') | mash/screenlock/public/interfaces/BUILD.gn » ('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 59c955b913af2c921470ee084fd2a0c704eaf360..ede1cbadf7016c79537284e3294cd636739c40ed 100644
--- a/mash/quick_launch/quick_launch.cc
+++ b/mash/quick_launch/quick_launch.cc
@@ -140,7 +140,7 @@ class QuickLaunchUI : public views::WidgetDelegateView,
void Launch(const std::string& name, bool new_window) {
std::unique_ptr<service_manager::Connection> connection =
connector_->Connect(name);
- mojom::LaunchablePtr launchable;
+ ::mash::mojom::LaunchablePtr launchable;
connection->GetInterface(&launchable);
connections_.push_back(std::move(connection));
launchable->Launch(mojom::kWindow,
@@ -183,7 +183,7 @@ void QuickLaunch::OnStart() {
bool QuickLaunch::OnConnect(const service_manager::ServiceInfo& remote_info,
service_manager::InterfaceRegistry* registry) {
- registry->AddInterface<mojom::Launchable>(this);
+ registry->AddInterface<::mash::mojom::Launchable>(this);
return true;
}
@@ -206,7 +206,7 @@ void QuickLaunch::Launch(uint32_t what, mojom::LaunchMode how) {
}
void QuickLaunch::Create(const service_manager::Identity& remote_identity,
- mojom::LaunchableRequest request) {
+ ::mash::mojom::LaunchableRequest request) {
bindings_.AddBinding(this, std::move(request));
}
« no previous file with comments | « mash/quick_launch/quick_launch.h ('k') | mash/screenlock/public/interfaces/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698