Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(65)

Side by Side Diff: net/tools/flip_server/other_defines.h

Issue 4541002: Revert 65313 - flip_in_mem_edsm_server builds again.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/tools/flip_server/epoll_server.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 NET_TOOLS_FLIP_SERVER_OTHER_DEFINES 5 #ifndef NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
6 #define NET_TOOLS_FLIP_SERVER_OTHER_DEFINES 6 #define NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
7 #pragma once 7 #pragma once
8 8
9 class NullStream { 9 class NullStream {
10 public: 10 public:
11 NullStream() {} 11 NullStream() {}
12 template <typename T> 12 template <typename T>
13 NullStream operator<<(T t) { return *this;} 13 NullStream operator<<(T t) { return *this;}
14 }; 14 };
15 15
16 #define VLOG(X) NullStream()
17 #define DVLOG(X) NullStream()
18
19
16 #endif // NET_TOOLS_FLIP_SERVER_OTHER_DEFINES 20 #endif // NET_TOOLS_FLIP_SERVER_OTHER_DEFINES
17 21
OLDNEW
« no previous file with comments | « net/tools/flip_server/epoll_server.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698