| OLD | NEW | 
|    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  Loading... | 
|  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_ | 
| OLD | NEW |