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

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

Issue 7811002: Remove use of <iostream> where unnecessary. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed Created 9 years, 3 months 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/http/http_auth_filter_unittest.cc ('k') | net/tools/flip_server/epoll_server.cc » ('j') | 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EPOLL_SERVER_H_ 5 #ifndef NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_
6 #define NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_ 6 #define NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <fcntl.h> 9 #include <fcntl.h>
10 #include <sys/queue.h> 10 #include <sys/queue.h>
(...skipping 13 matching lines...) Expand all
24 // as well as providing a per-fd-registered summary of 24 // as well as providing a per-fd-registered summary of
25 // events. Note that enabling this code vastly slows 25 // events. Note that enabling this code vastly slows
26 // down operations, and uses substantially more 26 // down operations, and uses substantially more
27 // memory. For these reasons, it should only be enabled when doing 27 // memory. For these reasons, it should only be enabled when doing
28 // developer debugging at his/her workstation. 28 // developer debugging at his/her workstation.
29 // 29 //
30 // A structure called 'EventRecorder' will exist when 30 // A structure called 'EventRecorder' will exist when
31 // the macro is defined. See the EventRecorder class interface 31 // the macro is defined. See the EventRecorder class interface
32 // within the EpollServer class for more details. 32 // within the EpollServer class for more details.
33 #ifdef EPOLL_SERVER_EVENT_TRACING 33 #ifdef EPOLL_SERVER_EVENT_TRACING
34 #include <iostream> 34 #include <ostream>
35 #include "base/logging.h" 35 #include "base/logging.h"
36 #endif 36 #endif
37 37
38 #include "base/basictypes.h" 38 #include "base/basictypes.h"
39 #include "base/memory/scoped_ptr.h" 39 #include "base/memory/scoped_ptr.h"
40 #include <sys/epoll.h> 40 #include <sys/epoll.h>
41 41
42 namespace net { 42 namespace net {
43 43
44 class EpollServer; 44 class EpollServer;
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1055 private: 1055 private:
1056 EpollServer::AlarmRegToken token_; 1056 EpollServer::AlarmRegToken token_;
1057 EpollServer* eps_; 1057 EpollServer* eps_;
1058 bool registered_; 1058 bool registered_;
1059 }; 1059 };
1060 1060
1061 } // namespace net 1061 } // namespace net
1062 1062
1063 #endif // NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_ 1063 #endif // NET_TOOLS_FLIP_SERVER_EPOLL_SERVER_H_
1064 1064
OLDNEW
« no previous file with comments | « net/http/http_auth_filter_unittest.cc ('k') | net/tools/flip_server/epoll_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698