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

Side by Side Diff: net/base/priority_queue.h

Issue 1535363003: Switch to standard integer types in net/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: stddef 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef NET_BASE_PRIORITY_QUEUE_H_ 5 #ifndef NET_BASE_PRIORITY_QUEUE_H_
6 #define NET_BASE_PRIORITY_QUEUE_H_ 6 #define NET_BASE_PRIORITY_QUEUE_H_
7 7
8 #include <stddef.h>
9 #include <stdint.h>
10
8 #include <list> 11 #include <list>
9 #include <vector> 12 #include <vector>
10 13
11 #include "base/basictypes.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/macros.h"
13 #include "base/threading/non_thread_safe.h" 16 #include "base/threading/non_thread_safe.h"
14 #include "net/base/net_export.h" 17 #include "net/base/net_export.h"
15 18
16 #if !defined(NDEBUG) 19 #if !defined(NDEBUG)
17 #include "base/containers/hash_tables.h" 20 #include "base/containers/hash_tables.h"
18 #endif 21 #endif
19 22
20 namespace net { 23 namespace net {
21 24
22 // A simple priority queue. The order of values is by priority and then FIFO. 25 // A simple priority queue. The order of values is by priority and then FIFO.
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
302 305
303 ListVector lists_; 306 ListVector lists_;
304 size_t size_; 307 size_t size_;
305 308
306 DISALLOW_COPY_AND_ASSIGN(PriorityQueue); 309 DISALLOW_COPY_AND_ASSIGN(PriorityQueue);
307 }; 310 };
308 311
309 } // namespace net 312 } // namespace net
310 313
311 #endif // NET_BASE_PRIORITY_QUEUE_H_ 314 #endif // NET_BASE_PRIORITY_QUEUE_H_
OLDNEW
« no previous file with comments | « net/base/prioritized_dispatcher.h ('k') | net/base/registry_controlled_domains/registry_controlled_domain.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698