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

Side by Side Diff: net/tools/balsa/simple_buffer.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/balsa/noop_balsa_visitor.h ('k') | net/tools/balsa/simple_buffer.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_SIMPLE_BUFFER_H__ 5 #ifndef NET_TOOLS_BALSA_SIMPLE_BUFFER_H__
6 #define NET_TOOLS_FLIP_SERVER_SIMPLE_BUFFER_H__ 6 #define NET_TOOLS_BALSA_SIMPLE_BUFFER_H__
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "net/tools/flip_server/buffer_interface.h" 11 #include "net/tools/balsa/buffer_interface.h"
12 12
13 namespace net { 13 namespace net {
14 14
15 class SimpleBuffer : public BufferInterface { 15 class SimpleBuffer : public BufferInterface {
16 public: 16 public:
17 SimpleBuffer(); 17 SimpleBuffer();
18 explicit SimpleBuffer(int size); 18 explicit SimpleBuffer(int size);
19 virtual ~SimpleBuffer(); 19 virtual ~SimpleBuffer();
20 20
21 std::string str() const; 21 std::string str() const;
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 int write_idx_; 82 int write_idx_;
83 int read_idx_; 83 int read_idx_;
84 int storage_size_; 84 int storage_size_;
85 85
86 private: 86 private:
87 //DISALLOW_COPY_AND_ASSIGN(SimpleBuffer); 87 //DISALLOW_COPY_AND_ASSIGN(SimpleBuffer);
88 }; 88 };
89 89
90 } // namespace net 90 } // namespace net
91 91
92 #endif // NET_TOOLS_FLIP_SERVER_SIMPLE_BUFFER_H__ 92 #endif // NET_TOOLS_BALSA_SIMPLE_BUFFER_H__
OLDNEW
« no previous file with comments | « net/tools/balsa/noop_balsa_visitor.h ('k') | net/tools/balsa/simple_buffer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698