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

Unified Diff: services/ui/clipboard/clipboard_unittest.cc

Issue 2503063003: Add service name constant for UI service. (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/package/mash_packaged_service.cc ('k') | services/ui/demo/mus_demo_unittests.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/clipboard/clipboard_unittest.cc
diff --git a/services/ui/clipboard/clipboard_unittest.cc b/services/ui/clipboard/clipboard_unittest.cc
index 4615491ffbf0d206f9fcf1063316b898dcdd1466..1ea0f73c7b2218f06f423f90b0bb823e6678588e 100644
--- a/services/ui/clipboard/clipboard_unittest.cc
+++ b/services/ui/clipboard/clipboard_unittest.cc
@@ -12,6 +12,7 @@
#include "services/service_manager/public/cpp/service_context.h"
#include "services/service_manager/public/cpp/service_test.h"
#include "services/ui/public/interfaces/clipboard.mojom.h"
+#include "services/ui/public/interfaces/constants.mojom.h"
using mojo::Array;
using mojo::Map;
@@ -37,7 +38,7 @@ class ClipboardAppTest : public service_manager::test::ServiceTest {
void SetUp() override {
ServiceTest::SetUp();
- connector()->ConnectToInterface("ui", &clipboard_);
+ connector()->ConnectToInterface(ui::mojom::kServiceName, &clipboard_);
ASSERT_TRUE(clipboard_);
}
« no previous file with comments | « mash/package/mash_packaged_service.cc ('k') | services/ui/demo/mus_demo_unittests.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698