Chromium Code Reviews| 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; |
| } |