blob: b3aecc5d287ebe579ca62f10cf85e55f48d45818 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
// Copyright (c) 2009 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.
#include "net/flip/flip_io_buffer.h"
#include "net/flip/flip_stream.h"
namespace net {
// static
uint64 FlipIOBuffer::order_ = 0;
FlipIOBuffer::FlipIOBuffer(
IOBufferWithSize* buffer, int priority, FlipStream* stream)
: buffer_(buffer),
priority_(priority),
position_(++order_),
stream_(stream) {}
FlipIOBuffer::FlipIOBuffer() : priority_(0), position_(0), stream_(NULL) {}
FlipIOBuffer::~FlipIOBuffer() {}
} // namespace net
|