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

Unified Diff: chrome/app/mash/mash_runner.cc

Issue 2569953002: Removes example code that isn't correctly wired up (Closed)
Patch Set: Created 4 years 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/app/mash/chrome_mash_content_browser_manifest_overlay.json ('k') | mash/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/mash/mash_runner.cc
diff --git a/chrome/app/mash/mash_runner.cc b/chrome/app/mash/mash_runner.cc
index 68f7dace0ccd84f36d356f8f969b0f5e1213b26a..4f614c32803852610d57659cf8748e8663858146 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -25,6 +25,7 @@
#include "content/public/common/content_switches.h"
#include "content/public/common/service_names.mojom.h"
#include "mash/package/mash_packaged_service.h"
+#include "mash/session/public/interfaces/constants.mojom.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/catalog/public/interfaces/catalog.mojom.h"
#include "services/catalog/public/interfaces/constants.mojom.h"
@@ -182,7 +183,7 @@ void MashRunner::RunMain() {
GetPackageManifestPath(kChromeContentUtilityPackageName)));
// Ping mash_session to ensure an instance is brought up
- context_->connector()->Connect("mash_session");
+ context_->connector()->Connect(mash::session::mojom::kServiceName);
base::RunLoop().Run();
base::TaskScheduler::GetInstance()->Shutdown();
« no previous file with comments | « chrome/app/mash/chrome_mash_content_browser_manifest_overlay.json ('k') | mash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698