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 EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ | 5 #ifndef EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ |
6 #define EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ | 6 #define EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <deque> | 10 #include <deque> |
9 #include <utility> | 11 #include <utility> |
10 | 12 |
11 #include "base/callback.h" | 13 #include "base/callback.h" |
12 #include "base/memory/linked_ptr.h" | 14 #include "base/memory/linked_ptr.h" |
13 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/time.h" | 16 #include "base/time/time.h" |
15 #include "base/timer/timer.h" | 17 #include "base/timer/timer.h" |
16 #include "net/base/backoff_entry.h" | 18 #include "net/base/backoff_entry.h" |
17 | 19 |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 typedef std::deque<typename RequestQueue<T>::Request> Container; | 135 typedef std::deque<typename RequestQueue<T>::Request> Container; |
134 | 136 |
135 explicit iterator(const typename Container::iterator& it) : it_(it) {} | 137 explicit iterator(const typename Container::iterator& it) : it_(it) {} |
136 | 138 |
137 typename Container::iterator it_; | 139 typename Container::iterator it_; |
138 }; | 140 }; |
139 | 141 |
140 } // namespace extensions | 142 } // namespace extensions |
141 | 143 |
142 #endif // EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ | 144 #endif // EXTENSIONS_BROWSER_UPDATER_REQUEST_QUEUE_H_ |
OLD | NEW |