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

Side by Side Diff: mojo/edk/system/wait_set_dispatcher.cc

Issue 1543603002: Switch to standard integer types in mojo/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years 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/edk/system/wait_set_dispatcher.h ('k') | mojo/edk/system/wait_set_dispatcher_unittest.cc » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/edk/system/wait_set_dispatcher.h" 5 #include "mojo/edk/system/wait_set_dispatcher.h"
6 6
7 #include <stdint.h>
8
7 #include <algorithm> 9 #include <algorithm>
8 #include <utility> 10 #include <utility>
9 11
10 #include "base/logging.h" 12 #include "base/logging.h"
11 #include "mojo/edk/system/awakable.h" 13 #include "mojo/edk/system/awakable.h"
12 14
13 namespace mojo { 15 namespace mojo {
14 namespace edk { 16 namespace edk {
15 17
16 class WaitSetDispatcher::Waiter final : public Awakable { 18 class WaitSetDispatcher::Waiter final : public Awakable {
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 275
274 base::AutoLock locker(awakable_lock_); 276 base::AutoLock locker(awakable_lock_);
275 HandleSignalsState signals_state; 277 HandleSignalsState signals_state;
276 signals_state.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE; 278 signals_state.satisfiable_signals = MOJO_HANDLE_SIGNAL_READABLE;
277 signals_state.satisfied_signals = MOJO_HANDLE_SIGNAL_READABLE; 279 signals_state.satisfied_signals = MOJO_HANDLE_SIGNAL_READABLE;
278 awakable_list_.AwakeForStateChange(signals_state); 280 awakable_list_.AwakeForStateChange(signals_state);
279 } 281 }
280 282
281 } // namespace edk 283 } // namespace edk
282 } // namespace mojo 284 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/wait_set_dispatcher.h ('k') | mojo/edk/system/wait_set_dispatcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698