blob: 171f6b0d09964086e4f3cc7abf4fa73fb26b2358 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef NET_QUIC_SIMPLE_BUFFER_ALLOCATOR_H_
#define NET_QUIC_SIMPLE_BUFFER_ALLOCATOR_H_
#include "net/quic/quic_protocol.h"
namespace net {
class NET_EXPORT_PRIVATE SimpleBufferAllocator : public QuicBufferAllocator {
public:
char* New(size_t size) override;
void Delete(char* buffer) override;
};
} // namespace net
#endif // NET_QUIC_SIMPLE_BUFFER_ALLOCATOR_H_
|