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

Unified Diff: mojo/environment/environment.cc

Issue 1765243002: Remove Mojo bindings environment. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | « mojo/environment/default_task_tracker_impl.cc ('k') | mojo/environment/mojo_environment_impl_export.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/environment/environment.cc
diff --git a/mojo/environment/environment.cc b/mojo/environment/environment.cc
deleted file mode 100644
index 7b342e094743d81c7a6642be18e54c777a9b3f1c..0000000000000000000000000000000000000000
--- a/mojo/environment/environment.cc
+++ /dev/null
@@ -1,55 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "mojo/public/cpp/environment/environment.h"
-
-#include "mojo/environment/default_async_waiter_impl.h"
-#include "mojo/environment/default_logger_impl.h"
-#include "mojo/environment/default_run_loop_impl.h"
-#include "mojo/environment/default_task_tracker_impl.h"
-
-namespace mojo {
-
-// These methods are intentionally not implemented so that there is a link
-// error if someone uses them in a Chromium-environment.
-#if 0
-Environment::Environment() {
-}
-
-Environment::Environment(const MojoAsyncWaiter* default_async_waiter,
- const MojoLogger* default_logger) {
-}
-
-Environment::~Environment() {
-}
-#endif
-
-// static
-const MojoAsyncWaiter* Environment::GetDefaultAsyncWaiter() {
- return internal::GetDefaultAsyncWaiterImpl();
-}
-
-// static
-const MojoLogger* Environment::GetDefaultLogger() {
- return internal::GetDefaultLoggerImpl();
-}
-
-// static
-const TaskTracker* Environment::GetDefaultTaskTracker() {
- return internal::GetDefaultTaskTracker();
-}
-
-// static
-void Environment::InstantiateDefaultRunLoop() {
- internal::InstantiateDefaultRunLoopImpl();
-}
-
-// static
-void Environment::DestroyDefaultRunLoop() {
- internal::DestroyDefaultRunLoopImpl();
-}
-
-
-
-} // namespace mojo
« no previous file with comments | « mojo/environment/default_task_tracker_impl.cc ('k') | mojo/environment/mojo_environment_impl_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698