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

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

Issue 2008383002: Remove a bunch of stuff in //mojo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 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 | « media/mojo/services/BUILD.gn ('k') | mojo/build/package_app.gypi » ('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 926cad43257a511dcf771946c95736164b44f501..da49ea3981bc00888bcf0ef47cea17204ce481f0 100644
--- a/media/mojo/services/main.cc
+++ b/media/mojo/services/main.cc
@@ -4,10 +4,10 @@
#include "base/at_exit.h"
#include "base/bind.h"
+#include "base/logging.h"
#include "base/memory/ptr_util.h"
#include "media/mojo/services/mojo_media_application.h"
#include "media/mojo/services/test_mojo_media_client.h"
-#include "mojo/logging/init_logging.h"
#include "mojo/public/c/system/main.h"
#include "services/shell/public/cpp/application_runner.h"
@@ -26,7 +26,10 @@ MojoResult MojoMain(MojoHandle mojo_handle) {
// Enable logging.
base::AtExitManager at_exit;
shell::ApplicationRunner::InitBaseCommandLine();
- mojo::InitLogging();
+
+ logging::LoggingSettings settings;
+ settings.logging_dest = logging::LOG_TO_SYSTEM_DEBUG_LOG;
+ logging::InitLogging(settings);
shell::ApplicationRunner runner(new media::MojoMediaApplication(
base::WrapUnique(new media::TestMojoMediaClient()),
« no previous file with comments | « media/mojo/services/BUILD.gn ('k') | mojo/build/package_app.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698