OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 BLIMP_NET_STREAM_PACKET_READER_H_ | 5 #ifndef BLIMP_NET_STREAM_PACKET_READER_H_ |
6 #define BLIMP_NET_STREAM_PACKET_READER_H_ | 6 #define BLIMP_NET_STREAM_PACKET_READER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include "base/macros.h" | 10 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 11 #include "base/memory/ref_counted.h" |
10 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
11 #include "blimp/net/blimp_net_export.h" | 13 #include "blimp/net/blimp_net_export.h" |
12 #include "blimp/net/packet_reader.h" | 14 #include "blimp/net/packet_reader.h" |
13 #include "net/base/completion_callback.h" | 15 #include "net/base/completion_callback.h" |
14 #include "net/base/net_errors.h" | 16 #include "net/base/net_errors.h" |
15 | 17 |
16 namespace net { | 18 namespace net { |
17 class GrowableIOBuffer; | 19 class GrowableIOBuffer; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 net::CompletionCallback callback_; | 74 net::CompletionCallback callback_; |
73 | 75 |
74 base::WeakPtrFactory<StreamPacketReader> weak_factory_; | 76 base::WeakPtrFactory<StreamPacketReader> weak_factory_; |
75 | 77 |
76 DISALLOW_COPY_AND_ASSIGN(StreamPacketReader); | 78 DISALLOW_COPY_AND_ASSIGN(StreamPacketReader); |
77 }; | 79 }; |
78 | 80 |
79 } // namespace blimp | 81 } // namespace blimp |
80 | 82 |
81 #endif // BLIMP_NET_STREAM_PACKET_READER_H_ | 83 #endif // BLIMP_NET_STREAM_PACKET_READER_H_ |
OLD | NEW |