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

Unified Diff: ash/mus/app_launch_unittest.cc

Issue 2710673002: Add Mojo constant for "ash" and replace hardcoded strings (Closed)
Patch Set: s/USE_ASH/OS_CHROMEOS/ Created 3 years, 10 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 | « no previous file | ash/mus/window_manager_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/mus/app_launch_unittest.cc
diff --git a/ash/mus/app_launch_unittest.cc b/ash/mus/app_launch_unittest.cc
index 7cf67d04777f9bd7ec45c3afa073d95f5c47f470..1ee880a4cd046ed73ef02a8e5978b7f25d95f3aa 100644
--- a/ash/mus/app_launch_unittest.cc
+++ b/ash/mus/app_launch_unittest.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "ash/public/interfaces/constants.mojom.h"
#include "base/bind.h"
#include "base/command_line.h"
#include "base/run_loop.h"
@@ -33,7 +34,7 @@ class AppLaunchTest : public service_manager::test::ServiceTest {
};
TEST_F(AppLaunchTest, TestQuickLaunch) {
- connector()->Connect("ash");
+ connector()->Connect(mojom::kServiceName);
connector()->Connect(mash::quick_launch::mojom::kServiceName);
ui::mojom::WindowServerTestPtr test_interface;
« no previous file with comments | « no previous file | ash/mus/window_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698