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

Unified Diff: mojo/environment/default_run_loop_impl.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_run_loop_impl.h ('k') | mojo/environment/default_task_tracker_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/environment/default_run_loop_impl.cc
diff --git a/mojo/environment/default_run_loop_impl.cc b/mojo/environment/default_run_loop_impl.cc
deleted file mode 100644
index 4fa9ffd1f46574b2b593acdf53336ff9fea9e217..0000000000000000000000000000000000000000
--- a/mojo/environment/default_run_loop_impl.cc
+++ /dev/null
@@ -1,27 +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/environment/default_run_loop_impl.h"
-
-#include "base/logging.h"
-#include "base/message_loop/message_loop.h"
-
-namespace mojo {
-namespace internal {
-
-void InstantiateDefaultRunLoopImpl() {
- CHECK(!base::MessageLoop::current());
- // Not leaked: accessible from |base::MessageLoop::current()|.
- base::MessageLoop* message_loop = new base::MessageLoop();
- CHECK_EQ(message_loop, base::MessageLoop::current());
-}
-
-void DestroyDefaultRunLoopImpl() {
- CHECK(base::MessageLoop::current());
- delete base::MessageLoop::current();
- CHECK(!base::MessageLoop::current());
-}
-
-} // namespace internal
-} // namespace mojo
« no previous file with comments | « mojo/environment/default_run_loop_impl.h ('k') | mojo/environment/default_task_tracker_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698