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

Side by Side Diff: mojo/public/cpp/environment/lib/environment.cc

Issue 1410053006: Move third_party/mojo/src/mojo/public to mojo/public (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "third_party/mojo/src/mojo/public/cpp/environment/environment.h" 5 #include "mojo/public/cpp/environment/environment.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 8
9 #include "third_party/mojo/src/mojo/public/c/environment/logger.h" 9 #include "mojo/public/c/environment/logger.h"
10 #include "third_party/mojo/src/mojo/public/cpp/environment/lib/default_async_wai ter.h" 10 #include "mojo/public/cpp/environment/lib/default_async_waiter.h"
11 #include "third_party/mojo/src/mojo/public/cpp/environment/lib/default_logger.h" 11 #include "mojo/public/cpp/environment/lib/default_logger.h"
12 #include "third_party/mojo/src/mojo/public/cpp/environment/lib/default_task_trac ker.h" 12 #include "mojo/public/cpp/environment/lib/default_task_tracker.h"
13 #include "third_party/mojo/src/mojo/public/cpp/utility/run_loop.h" 13 #include "mojo/public/cpp/utility/run_loop.h"
14 14
15 namespace mojo { 15 namespace mojo {
16 16
17 namespace { 17 namespace {
18 18
19 const MojoAsyncWaiter* g_default_async_waiter = nullptr; 19 const MojoAsyncWaiter* g_default_async_waiter = nullptr;
20 const MojoLogger* g_default_logger = nullptr; 20 const MojoLogger* g_default_logger = nullptr;
21 const TaskTracker* g_default_task_tracker = nullptr; 21 const TaskTracker* g_default_task_tracker = nullptr;
22 22
23 void Init(const MojoAsyncWaiter* default_async_waiter, 23 void Init(const MojoAsyncWaiter* default_async_waiter,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 } 84 }
85 85
86 // static 86 // static
87 void Environment::DestroyDefaultRunLoop() { 87 void Environment::DestroyDefaultRunLoop() {
88 assert(RunLoop::current()); 88 assert(RunLoop::current());
89 delete RunLoop::current(); 89 delete RunLoop::current();
90 assert(!RunLoop::current()); 90 assert(!RunLoop::current());
91 } 91 }
92 92
93 } // namespace mojo 93 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/environment/lib/default_task_tracker.cc ('k') | mojo/public/cpp/environment/lib/logging.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698