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

Unified Diff: chrome/test/base/mash_browser_tests_main.cc

Issue 2713223002: Use mash::session::mojom::kServiceName instead of a hardcoded string (Closed)
Patch Set: 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 | « chrome/test/DEPS ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/base/mash_browser_tests_main.cc
diff --git a/chrome/test/base/mash_browser_tests_main.cc b/chrome/test/base/mash_browser_tests_main.cc
index a97abff5e4f0202ba134df42e16856e1d2e81f4e..bc097e1f49248ac741c21c3c723babb943fb1d55 100644
--- a/chrome/test/base/mash_browser_tests_main.cc
+++ b/chrome/test/base/mash_browser_tests_main.cc
@@ -27,6 +27,7 @@
#include "content/public/common/service_manager_connection.h"
#include "content/public/test/test_launcher.h"
#include "mash/package/mash_packaged_service.h"
+#include "mash/session/public/interfaces/constants.mojom.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/cpp/service.h"
#include "services/service_manager/public/cpp/service_context.h"
@@ -43,7 +44,7 @@ const base::FilePath::CharType kCatalogFilename[] =
FILE_PATH_LITERAL("mash_browser_tests_catalog.json");
void ConnectToDefaultApps(service_manager::Connector* connector) {
- connector->Connect("mash_session");
+ connector->Connect(mash::session::mojom::kServiceName);
}
class MashTestSuite : public ChromeTestSuite {
« no previous file with comments | « chrome/test/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698