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

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

Issue 25085002: Break out balsa and epoll_server from net/tools/flip_server. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup Created 7 years, 2 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
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_OUTPUT_ORDERING_H_ 5 #ifndef NET_TOOLS_FLIP_SERVER_OUTPUT_ORDERING_H_
6 #define NET_TOOLS_FLIP_SERVER_OUTPUT_ORDERING_H_ 6 #define NET_TOOLS_FLIP_SERVER_OUTPUT_ORDERING_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
11 11
12 #include "base/basictypes.h" 12 #include "base/basictypes.h"
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "net/tools/epoll_server/epoll_server.h"
14 #include "net/tools/flip_server/constants.h" 15 #include "net/tools/flip_server/constants.h"
15 #include "net/tools/flip_server/epoll_server.h"
16 #include "net/tools/flip_server/mem_cache.h" 16 #include "net/tools/flip_server/mem_cache.h"
17 17
18 namespace net { 18 namespace net {
19 19
20 class SMConnectionInterface; 20 class SMConnectionInterface;
21 21
22 class OutputOrdering { 22 class OutputOrdering {
23 public: 23 public:
24 typedef std::list<MemCacheIter> PriorityRing; 24 typedef std::list<MemCacheIter> PriorityRing;
25 typedef std::map<uint32, PriorityRing> PriorityMap; 25 typedef std::map<uint32, PriorityRing> PriorityMap;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 server_think_time_in_s_ = value; 79 server_think_time_in_s_ = value;
80 } 80 }
81 81
82 private: 82 private:
83 static double server_think_time_in_s_; 83 static double server_think_time_in_s_;
84 }; 84 };
85 85
86 } // namespace net 86 } // namespace net
87 87
88 #endif // NET_TOOLS_FLIP_SERVER_OUTPUT_ORDERING_H_ 88 #endif // NET_TOOLS_FLIP_SERVER_OUTPUT_ORDERING_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698