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

Unified Diff: mojo/public/cpp/environment/lib/default_logger.h

Issue 339403003: Mojo: Make GetDefault{AsyncWaiter,Logger} static methods of Environment. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: mojo/public/cpp/environment/lib/default_logger.h
diff --git a/mojo/public/cpp/application/lib/service_connector.cc b/mojo/public/cpp/environment/lib/default_logger.h
similarity index 51%
copy from mojo/public/cpp/application/lib/service_connector.cc
copy to mojo/public/cpp/environment/lib/default_logger.h
index 5cc4421b7aaa9f4b930c86abc08d4377f3ae7e7d..4db32336811001e60f44d6b9cab0279992af1998 100644
--- a/mojo/public/cpp/application/lib/service_connector.cc
+++ b/mojo/public/cpp/environment/lib/default_logger.h
@@ -2,17 +2,17 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "mojo/public/cpp/application/lib/service_connector.h"
+#ifndef MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_H_
+#define MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_H_
+
+struct MojoLogger;
namespace mojo {
namespace internal {
-ServiceConnectorBase::ServiceConnectorBase(const std::string& name)
- : name_(name),
- registry_(NULL) {
-}
-
-ServiceConnectorBase::~ServiceConnectorBase() {}
+extern const MojoLogger kDefaultLogger;
} // namespace internal
} // namespace mojo
+
+#endif // MOJO_PUBLIC_CPP_ENVIRONMENT_LIB_DEFAULT_LOGGER_H_
« no previous file with comments | « mojo/public/cpp/environment/lib/default_async_waiter.cc ('k') | mojo/public/cpp/environment/lib/default_logger.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698