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

Side by Side Diff: mojo/environment/default_async_waiter_impl.cc

Issue 1280463003: Revert of Straightens outs DEPS in mojo/common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 unified diff | Download patch
« no previous file with comments | « mojo/environment/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "mojo/environment/default_async_waiter_impl.h" 5 #include "mojo/environment/default_async_waiter_impl.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "mojo/message_pump/handle_watcher.h" 8 #include "mojo/common/handle_watcher.h"
9 9
10 namespace mojo { 10 namespace mojo {
11 namespace internal { 11 namespace internal {
12 namespace { 12 namespace {
13 13
14 void OnHandleReady(common::HandleWatcher* watcher, 14 void OnHandleReady(common::HandleWatcher* watcher,
15 MojoAsyncWaitCallback callback, 15 MojoAsyncWaitCallback callback,
16 void* closure, 16 void* closure,
17 MojoResult result) { 17 MojoResult result) {
18 delete watcher; 18 delete watcher;
(...skipping 22 matching lines...) Expand all
41 }; 41 };
42 42
43 } // namespace 43 } // namespace
44 44
45 const MojoAsyncWaiter* GetDefaultAsyncWaiterImpl() { 45 const MojoAsyncWaiter* GetDefaultAsyncWaiterImpl() {
46 return &kDefaultAsyncWaiter; 46 return &kDefaultAsyncWaiter;
47 } 47 }
48 48
49 } // namespace internal 49 } // namespace internal
50 } // namespace mojo 50 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/environment/BUILD.gn ('k') | mojo/message_pump/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698