OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 LIBRARIES_NACL_IO_FIFO_PACKET_H_ | 5 #ifndef LIBRARIES_NACL_IO_FIFO_PACKET_H_ |
6 #define LIBRARIES_NACL_IO_FIFO_PACKET_H_ | 6 #define LIBRARIES_NACL_IO_FIFO_PACKET_H_ |
7 | 7 |
8 #include <string.h> | 8 #include <string.h> |
9 | 9 |
10 #include <list> | 10 #include <list> |
11 #include <vector> | |
12 | 11 |
13 #include "nacl_io/fifo_interface.h" | 12 #include "nacl_io/fifo_interface.h" |
14 #include "ppapi/c/pp_resource.h" | 13 #include "ppapi/c/pp_resource.h" |
15 | 14 |
16 #include "sdk_util/macros.h" | 15 #include "sdk_util/macros.h" |
17 | 16 |
18 namespace nacl_io { | 17 namespace nacl_io { |
19 | 18 |
20 class Packet; | 19 class Packet; |
21 | 20 |
(...skipping 28 matching lines...) Expand all Loading... |
50 std::list<Packet*> packets_; | 49 std::list<Packet*> packets_; |
51 uint32_t max_bytes_; | 50 uint32_t max_bytes_; |
52 uint32_t cur_bytes_; | 51 uint32_t cur_bytes_; |
53 | 52 |
54 DISALLOW_COPY_AND_ASSIGN(FIFOPacket); | 53 DISALLOW_COPY_AND_ASSIGN(FIFOPacket); |
55 }; | 54 }; |
56 | 55 |
57 } // namespace nacl_io | 56 } // namespace nacl_io |
58 | 57 |
59 #endif // LIBRARIES_NACL_IO_FIFO_PACKET_H_ | 58 #endif // LIBRARIES_NACL_IO_FIFO_PACKET_H_ |
OLD | NEW |