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

Side by Side Diff: mojo/edk/system/handle_table.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/handle_table.h ('k') | mojo/edk/system/message_in_transit.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 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/edk/system/handle_table.h" 5 #include "mojo/edk/system/handle_table.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <limits> 10 #include <limits>
8 11
9 #include "base/logging.h" 12 #include "base/logging.h"
10 #include "mojo/edk/system/configuration.h" 13 #include "mojo/edk/system/configuration.h"
11 #include "mojo/edk/system/dispatcher.h" 14 #include "mojo/edk/system/dispatcher.h"
12 15
13 namespace mojo { 16 namespace mojo {
14 namespace edk { 17 namespace edk {
15 18
16 HandleTable::Entry::Entry() : busy(false) { 19 HandleTable::Entry::Entry() : busy(false) {
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 for (uint32_t i = 0; i < num_handles; i++) { 237 for (uint32_t i = 0; i < num_handles; i++) {
235 HandleToEntryMap::iterator it = handle_to_entry_map_.find(handles[i]); 238 HandleToEntryMap::iterator it = handle_to_entry_map_.find(handles[i]);
236 DCHECK(it != handle_to_entry_map_.end()); 239 DCHECK(it != handle_to_entry_map_.end());
237 DCHECK(it->second.busy); 240 DCHECK(it->second.busy);
238 it->second.busy = false; 241 it->second.busy = false;
239 } 242 }
240 } 243 }
241 244
242 } // namespace edk 245 } // namespace edk
243 } // namespace mojo 246 } // namespace mojo
OLDNEW
« no previous file with comments | « mojo/edk/system/handle_table.h ('k') | mojo/edk/system/message_in_transit.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698