blob: dda21513033d2ed77f97862d0d0fff634923e063 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright (c) 2010 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_TOOLS_FLIP_SERVER_OTHER_DEFINES
#define NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
#pragma once
class NullStream {
public:
NullStream() {}
template <typename T>
NullStream operator<<(T t) { return *this;}
};
#define VLOG(X) NullStream()
#define DVLOG(X) NullStream()
#endif // NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
|