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

Side by Side Diff: net/tools/flip_server/mem_cache.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: Rebase 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
« no previous file with comments | « net/tools/flip_server/http_message_constants.h ('k') | net/tools/flip_server/mem_cache.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_MEM_CACHE_H_ 5 #ifndef NET_TOOLS_FLIP_SERVER_MEM_CACHE_H_
6 #define NET_TOOLS_FLIP_SERVER_MEM_CACHE_H_ 6 #define NET_TOOLS_FLIP_SERVER_MEM_CACHE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/compiler_specific.h" 11 #include "base/compiler_specific.h"
12 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
13 #include "net/tools/flip_server/balsa_headers.h" 13 #include "net/tools/balsa/balsa_headers.h"
14 #include "net/tools/flip_server/balsa_visitor_interface.h" 14 #include "net/tools/balsa/balsa_visitor_interface.h"
15 #include "net/tools/flip_server/constants.h" 15 #include "net/tools/flip_server/constants.h"
16 16
17 namespace net { 17 namespace net {
18 18
19 class StoreBodyAndHeadersVisitor: public BalsaVisitorInterface { 19 class StoreBodyAndHeadersVisitor: public BalsaVisitorInterface {
20 public: 20 public:
21 void HandleError() { error_ = true; } 21 void HandleError() { error_ = true; }
22 22
23 // BalsaVisitorInterface: 23 // BalsaVisitorInterface:
24 virtual void ProcessBodyInput(const char *input, size_t size) OVERRIDE {} 24 virtual void ProcessBodyInput(const char *input, size_t size) OVERRIDE {}
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
150 150
151 class NotifierInterface { 151 class NotifierInterface {
152 public: 152 public:
153 virtual ~NotifierInterface() {} 153 virtual ~NotifierInterface() {}
154 virtual void Notify() = 0; 154 virtual void Notify() = 0;
155 }; 155 };
156 156
157 } // namespace net 157 } // namespace net
158 158
159 #endif // NET_TOOLS_FLIP_SERVER_MEM_CACHE_H_ 159 #endif // NET_TOOLS_FLIP_SERVER_MEM_CACHE_H_
OLDNEW
« no previous file with comments | « net/tools/flip_server/http_message_constants.h ('k') | net/tools/flip_server/mem_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698