Index: chrome/browser/chromeos/web_socket_proxy_controller.h |
diff --git a/chrome/browser/chromeos/web_socket_proxy_controller.h b/chrome/browser/chromeos/web_socket_proxy_controller.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e5749e7224c63d16fb17a85dc0f3aeacead44309 |
--- /dev/null |
+++ b/chrome/browser/chromeos/web_socket_proxy_controller.h |
@@ -0,0 +1,24 @@ |
+// Copyright (c) 2011 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_CONTROLLER_H_ |
+#define CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_CONTROLLER_H_ |
+#pragma once |
+ |
+namespace chromeos { |
+ |
+// Controls webproxy to TCP service. |
+class WebSocketProxyController { |
+ public: |
+ // Can be called on any thread. Subsequent calls are cheap and do nothing. |
+ static void Initiate(); |
+ |
+ // All methods can be called on any thread. |
+ static void Shutdown(); |
+ static bool IsInitiated(); |
+}; |
+ |
+} // namespace chromeos |
+ |
+#endif // CHROME_BROWSER_CHROMEOS_WEB_SOCKET_PROXY_CONTROLLER_H_ |