| Index: chrome/browser/chromeos/web_socket_proxy.h
|
| diff --git a/chrome/browser/chromeos/web_socket_proxy.h b/chrome/browser/chromeos/web_socket_proxy.h
|
| deleted file mode 100644
|
| index 08436f531e5f2477f8b605b81684585261a4dde8..0000000000000000000000000000000000000000
|
| --- a/chrome/browser/chromeos/web_socket_proxy.h
|
| +++ /dev/null
|
| @@ -1,45 +0,0 @@
|
| -// Copyright (c) 2012 The Chromium Authors. All rights reserved.
|
| -// Use of this source code is governed by a BSD-style license that can be
|
| -// found in the LICENSE file.
|
| -
|
| -#ifndef CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
|
| -#define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
|
| -
|
| -#include <string>
|
| -#include <vector>
|
| -
|
| -#include "base/basictypes.h"
|
| -
|
| -namespace chromeos {
|
| -
|
| -class WebSocketProxy {
|
| - public:
|
| - static const size_t kBufferLimit = 12 * 1024 * 1024;
|
| -
|
| - // Limits incoming websocket headers in initial stage of connection.
|
| - static const size_t kHeaderLimit = 32 * 1024;
|
| -
|
| - // Limits number of simultaneously open connections.
|
| - static const size_t kConnPoolLimit = 40;
|
| -
|
| - WebSocketProxy();
|
| - ~WebSocketProxy();
|
| -
|
| - // Do not call it twice.
|
| - void Run();
|
| -
|
| - // Terminates running server (should be called on a different thread).
|
| - void Shutdown();
|
| -
|
| - // Call this on network change.
|
| - void OnNetworkChange();
|
| -
|
| - private:
|
| - void* impl_;
|
| -
|
| - DISALLOW_COPY_AND_ASSIGN(WebSocketProxy);
|
| -};
|
| -
|
| -} // namespace chromeos
|
| -
|
| -#endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_H_
|
|
|