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

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

Issue 2427443002: Replace remaining shell references with service manager (Closed)
Patch Set: Created 4 years, 2 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/mash/chrome_mash_manifest.json ('k') | chrome/test/base/mash_browser_tests_manifest.json » ('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 01fcac769fff6bcf7ce86fd6220e4f563f020776..6bfa9ee1bbbbe1cd921cd2e2d7fbb3879ecb3c4b 100644
--- a/chrome/app/mash/mash_runner.cc
+++ b/chrome/app/mash/mash_runner.cc
@@ -22,7 +22,7 @@
#include "mash/package/mash_packaged_service.h"
#include "mojo/public/cpp/bindings/binding_set.h"
#include "services/catalog/public/interfaces/catalog.mojom.h"
-#include "services/service_manager/background/background_shell.h"
+#include "services/service_manager/background/background_service_manager.h"
#include "services/service_manager/native_runner_delegate.h"
#include "services/service_manager/public/cpp/connector.h"
#include "services/service_manager/public/cpp/identity.h"
@@ -123,13 +123,13 @@ void MashRunner::Run() {
}
void MashRunner::RunMain() {
- // TODO(sky): refactor backgroundshell so can supply own context, we
+ // TODO(sky): refactor BackgroundServiceManager so can supply own context, we
// shouldn't we using context as it has a lot of stuff we don't really want
// in chrome.
NativeRunnerDelegateImpl native_runner_delegate;
- service_manager::BackgroundShell background_service_manager;
- std::unique_ptr<service_manager::BackgroundShell::InitParams> init_params(
- new service_manager::BackgroundShell::InitParams);
+ service_manager::BackgroundServiceManager background_service_manager;
+ std::unique_ptr<service_manager::BackgroundServiceManager::InitParams>
+ init_params(new service_manager::BackgroundServiceManager::InitParams);
init_params->native_runner_delegate = &native_runner_delegate;
background_service_manager.Init(std::move(init_params));
service_.reset(new mash::MashPackagedService);
« no previous file with comments | « chrome/app/mash/chrome_mash_manifest.json ('k') | chrome/test/base/mash_browser_tests_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698