Index: chrome/browser/apps/speech_recognition_browsertest.cc |
diff --git a/chrome/browser/apps/speech_recognition_browsertest.cc b/chrome/browser/apps/speech_recognition_browsertest.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..a1254c6539bf8b5bdd47880cd262e83397072c55 |
--- /dev/null |
+++ b/chrome/browser/apps/speech_recognition_browsertest.cc |
@@ -0,0 +1,20 @@ |
+// Copyright 2013 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. |
+ |
+#include "chrome/browser/apps/app_browsertest_util.h" |
+ |
+class SpeechRecognitionTest : public extensions::PlatformAppBrowserTest { |
+}; |
+ |
+IN_PROC_BROWSER_TEST_F(SpeechRecognitionTest, SpeechFromBackgroundPage) { |
+ ASSERT_TRUE(RunPlatformAppTest("platform_apps/speech/background_page")) |
+ << message_; |
+} |
+ |
+IN_PROC_BROWSER_TEST_F(SpeechRecognitionTest, |
+ SpeechFromBackgroundPageWithoutPermission) { |
+ ASSERT_TRUE( |
+ RunPlatformAppTest("platform_apps/speech/background_page_no_permission")) |
+ << message_; |
+} |