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

Unified Diff: chrome/app/chrome_main_delegate.cc

Issue 2910383002: mash: Add catalog/manifest etc. for telemetry tests binary for mash. (Closed)
Patch Set: . Created 3 years, 7 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/app/BUILD.gn ('k') | chrome/app/mash/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/app/chrome_main_delegate.cc
diff --git a/chrome/app/chrome_main_delegate.cc b/chrome/app/chrome_main_delegate.cc
index d105144bb2c1d3e8c697a85189cdee73519c86ba..7868242505d0712e5d9a0c9b7a54655f8c470a99 100644
--- a/chrome/app/chrome_main_delegate.cc
+++ b/chrome/app/chrome_main_delegate.cc
@@ -110,6 +110,7 @@
#if BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
#include "chrome/app/mash/chrome_mash_catalog.h"
+#include "chrome/app/mash/chrome_test_catalog.h"
#include "chrome/app/mash/embedded_services.h"
#include "mash/common/config.h" // nogncheck
#include "mash/quick_launch/public/interfaces/constants.mojom.h" // nogncheck
@@ -1134,8 +1135,11 @@ std::unique_ptr<base::Value> ChromeMainDelegate::CreateServiceCatalog() {
if (command_line.HasSwitch(switches::kMus))
return CreateChromeMusCatalog();
#endif // defined(OS_CHROMEOS)
- if (command_line.HasSwitch(switches::kMash))
+ if (command_line.HasSwitch(switches::kMash)) {
+ if (command_line.HasSwitch("use-test-config"))
sky 2017/06/01 20:45:24 Should we consider a completely separate build tar
sadrul 2017/06/01 20:49:43 Yep. That's where I was initially going. To do tha
+ return CreateChromeTestCatalog();
return CreateChromeMashCatalog();
+ }
#endif // BUILDFLAG(ENABLE_PACKAGE_MASH_SERVICES)
return nullptr;
}
« no previous file with comments | « chrome/app/BUILD.gn ('k') | chrome/app/mash/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698