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

Unified Diff: mojo/public/cpp/application/application_runner.h

Issue 1995853002: Remove ApplicationRunner::{Get,Set}DefaultLogger(). (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: doh 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 | « no previous file | mojo/public/cpp/application/lib/application_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/public/cpp/application/application_runner.h
diff --git a/mojo/public/cpp/application/application_runner.h b/mojo/public/cpp/application/application_runner.h
index 0ace219b3c9f2b978c89fd9a650916fb8de92235..184c2def47e146ba9fd0c03849f9a1128aa5b47c 100644
--- a/mojo/public/cpp/application/application_runner.h
+++ b/mojo/public/cpp/application/application_runner.h
@@ -7,7 +7,6 @@
#include <memory>
-#include "mojo/public/c/environment/logger.h"
#include "mojo/public/c/system/handle.h"
#include "mojo/public/c/system/result.h"
#include "mojo/public/cpp/system/macros.h"
@@ -32,14 +31,6 @@ class ApplicationRunner {
explicit ApplicationRunner(std::unique_ptr<ApplicationDelegate> delegate);
~ApplicationRunner();
- // This replaces the underlying logger implementation with the one provided.
- // This static method may only be called while |Run()| is running. |logger|
- // must outlive the duration of this |Run()|, or until the subsequent
- // |ApplicationRunner::SetDefaultLogger()|, which ever comes first.
- static void SetDefaultLogger(const MojoLogger* logger);
- // This static method may only be called while |Run()| is running.
- static const MojoLogger* GetDefaultLogger();
-
// Once the various parameters have been set above, use Run to initialize an
// ApplicationImpl wired to the provided delegate, and run a RunLoop until
// the application exits.
« no previous file with comments | « no previous file | mojo/public/cpp/application/lib/application_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698