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

Side by Side Diff: chrome/browser/chromeos/web_socket_proxy.h

Issue 8538002: Cleanup: Remove unneeded forward declarations from chrome/browser/chromeos. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix a small nit Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/chromeos/version_loader.h ('k') | chrome/browser/chromeos/wm_message_listener.h » ('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 CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
6 #define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_ 6 #define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
12 12
13 struct sockaddr;
14
15 namespace chromeos { 13 namespace chromeos {
16 14
17 class WebSocketProxy { 15 class WebSocketProxy {
18 public: 16 public:
19 static const size_t kBufferLimit = 12 * 1024 * 1024; 17 static const size_t kBufferLimit = 12 * 1024 * 1024;
20 18
21 // Limits incoming websocket headers in initial stage of connection. 19 // Limits incoming websocket headers in initial stage of connection.
22 static const size_t kHeaderLimit = 32 * 1024; 20 static const size_t kHeaderLimit = 32 * 1024;
23 21
24 // Limits number of simultaneously open connections. 22 // Limits number of simultaneously open connections.
(...skipping 14 matching lines...) Expand all
39 37
40 private: 38 private:
41 void* impl_; 39 void* impl_;
42 40
43 DISALLOW_COPY_AND_ASSIGN(WebSocketProxy); 41 DISALLOW_COPY_AND_ASSIGN(WebSocketProxy);
44 }; 42 };
45 43
46 } // namespace chromeos 44 } // namespace chromeos
47 45
48 #endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_ 46 #endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/version_loader.h ('k') | chrome/browser/chromeos/wm_message_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698