Index: chrome/browser/resources/chromeos/select_to_speak/test_support.js |
diff --git a/chrome/browser/resources/chromeos/select_to_speak/test_support.js b/chrome/browser/resources/chromeos/select_to_speak/test_support.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..2d88e5ee268b6f4defa1f765c1544bdd849d9655 |
--- /dev/null |
+++ b/chrome/browser/resources/chromeos/select_to_speak/test_support.js |
@@ -0,0 +1,15 @@ |
+// Copyright 2016 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. |
+ |
+/** |
+ * Stubs out extension API functions so that SelectToSpeakUnitTest |
+ * can load. |
+ */ |
+ |
+chrome.automation = {}; |
+ |
+/** |
+ * Stub |
+ */ |
+chrome.automation.getDesktop = function() {}; |