OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_CONTROLLER_H_ |
| 7 #pragma once |
| 8 |
| 9 namespace chromeos { |
| 10 |
| 11 // Controls webproxy to TCP service. |
| 12 class WebSocketProxyController { |
| 13 public: |
| 14 // Can be called on any thread. Subsequent calls are cheap and do nothing. |
| 15 static void Initiate(); |
| 16 |
| 17 // All methods can be called on any thread. |
| 18 static void Shutdown(); |
| 19 static bool IsInitiated(); |
| 20 }; |
| 21 |
| 22 } // namespace chromeos |
| 23 |
| 24 #endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_CONTROLLER_H_ |
OLD | NEW |