Index: headless/lib/tab_socket_externs.js |
diff --git a/headless/lib/tab_socket_externs.js b/headless/lib/tab_socket_externs.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..96428747485b52d24dee3df19e2d0b8607c44067 |
--- /dev/null |
+++ b/headless/lib/tab_socket_externs.js |
@@ -0,0 +1,12 @@ |
+// Copyright 2017 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. |
+ |
+/** |
+ * @fileoverview Headless TabSocket externs. |
+ * @externs |
+ */ |
+ |
+window.TabSocket = {}; |
+window.TabSocket.send = function(a) {}; |
+window.TabSocket.onmessage = {}; |