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

Unified Diff: net/tools/flip_server/epoll_server.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/tools/flip_server/balsa_headers.cc ('k') | net/tools/flip_server/other_defines.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/tools/flip_server/epoll_server.h
===================================================================
--- net/tools/flip_server/epoll_server.h (revision 65313)
+++ net/tools/flip_server/epoll_server.h (working copy)
@@ -8,6 +8,8 @@
#include <fcntl.h>
#include <sys/queue.h>
+#include <ext/hash_map> // it is annoying that gcc does this. oh well.
+#include <ext/hash_set>
#include <map>
#include <string>
#include <utility>
@@ -34,7 +36,6 @@
#endif
#include "base/basictypes.h"
-#include "base/hash_tables.h"
#include "base/scoped_ptr.h"
#include <sys/epoll.h>
@@ -573,7 +574,7 @@
}
};
- typedef base::hash_set<CBAndEventMask, CBAndEventMaskHash> FDToCBMap;
+ typedef __gnu_cxx::hash_set<CBAndEventMask, CBAndEventMaskHash> FDToCBMap;
// the following four functions are OS-specific, and are likely
// to be changed in a subclass if the poll/select method is changed
@@ -942,7 +943,7 @@
std::vector<DebugOutput*> debug_events_;
std::vector<Events> unregistered_fds_;
- typedef base::hash_map<int, Events> EventCountsMap;
+ typedef __gnu_cxx::hash_map<int, Events> EventCountsMap;
EventCountsMap event_counts_;
int64 num_records_;
int64 record_threshold_;
« no previous file with comments | « net/tools/flip_server/balsa_headers.cc ('k') | net/tools/flip_server/other_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698