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

Unified Diff: media/mojo/services/main.cc

Issue 2420253002: Rename shell namespace to 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 | « media/mojo/services/default_mojo_media_client.cc ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/mojo/services/main.cc
diff --git a/media/mojo/services/main.cc b/media/mojo/services/main.cc
index 43ce56af3f38300461517944517b875b199810cf..06e0a351606b7c39c2b15121738b09f64e0a736d 100644
--- a/media/mojo/services/main.cc
+++ b/media/mojo/services/main.cc
@@ -12,7 +12,7 @@
namespace {
-shell::ServiceRunner* g_runner = nullptr;
+service_manager::ServiceRunner* g_runner = nullptr;
void QuitApplication() {
DCHECK(g_runner);
@@ -24,15 +24,15 @@ void QuitApplication() {
MojoResult ServiceMain(MojoHandle mojo_handle) {
// Enable logging.
base::AtExitManager at_exit;
- shell::ServiceRunner::InitBaseCommandLine();
+ service_manager::ServiceRunner::InitBaseCommandLine();
logging::LoggingSettings settings;
settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
logging::InitLogging(settings);
- std::unique_ptr<shell::Service> service =
+ std::unique_ptr<service_manager::Service> service =
media::CreateMojoMediaApplication(base::Bind(&QuitApplication));
- shell::ServiceRunner runner(service.release());
+ service_manager::ServiceRunner runner(service.release());
g_runner = &runner;
return runner.Run(mojo_handle, false /* init_base */);
}
« no previous file with comments | « media/mojo/services/default_mojo_media_client.cc ('k') | media/mojo/services/media_mojo_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698