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

Side by Side Diff: mojo/public/cpp/environment/lib/default_async_waiter.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/lib/default_async_wai ter.h" 5 #include "mojo/public/cpp/environment/lib/default_async_waiter.h"
6 6
7 #include <assert.h> 7 #include <assert.h>
8 8
9 #include "third_party/mojo/src/mojo/public/c/environment/async_waiter.h" 9 #include "mojo/public/c/environment/async_waiter.h"
10 #include "third_party/mojo/src/mojo/public/cpp/utility/run_loop.h" 10 #include "mojo/public/cpp/utility/run_loop.h"
11 #include "third_party/mojo/src/mojo/public/cpp/utility/run_loop_handler.h" 11 #include "mojo/public/cpp/utility/run_loop_handler.h"
12 12
13 namespace mojo { 13 namespace mojo {
14 14
15 namespace { 15 namespace {
16 16
17 // RunLoopHandler implementation used for a request to AsyncWait(). There are 17 // RunLoopHandler implementation used for a request to AsyncWait(). There are
18 // two ways RunLoopHandlerImpl is deleted: 18 // two ways RunLoopHandlerImpl is deleted:
19 // . when the handle is ready (or errored). 19 // . when the handle is ready (or errored).
20 // . when CancelWait() is invoked. 20 // . when CancelWait() is invoked.
21 class RunLoopHandlerImpl : public RunLoopHandler { 21 class RunLoopHandlerImpl : public RunLoopHandler {
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 } // namespace 77 } // namespace
78 78
79 namespace internal { 79 namespace internal {
80 80
81 const MojoAsyncWaiter kDefaultAsyncWaiter = {AsyncWait, CancelWait}; 81 const MojoAsyncWaiter kDefaultAsyncWaiter = {AsyncWait, CancelWait};
82 82
83 } // namespace internal 83 } // namespace internal
84 84
85 } // namespace mojo 85 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/public/cpp/environment/lib/default_async_waiter.h ('k') | mojo/public/cpp/environment/lib/default_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698