Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(343)

Side by Side Diff: chrome/browser/apps/app_speech_recognition_browsertest.cc

Issue 1542413002: Switch to standard integer types in chrome/browser/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/command_line.h" 5 #include "base/command_line.h"
6 #include "base/macros.h"
6 #include "chrome/browser/apps/app_browsertest_util.h" 7 #include "chrome/browser/apps/app_browsertest_util.h"
7 #include "content/public/common/content_switches.h" 8 #include "content/public/common/content_switches.h"
8 #include "content/public/test/fake_speech_recognition_manager.h" 9 #include "content/public/test/fake_speech_recognition_manager.h"
9 #include "media/base/media_switches.h" 10 #include "media/base/media_switches.h"
10 11
11 class SpeechRecognitionTest : public extensions::PlatformAppBrowserTest { 12 class SpeechRecognitionTest : public extensions::PlatformAppBrowserTest {
12 public: 13 public:
13 SpeechRecognitionTest() {} 14 SpeechRecognitionTest() {}
14 ~SpeechRecognitionTest() override {} 15 ~SpeechRecognitionTest() override {}
15 16
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 } 53 }
53 54
54 IN_PROC_BROWSER_TEST_F(SpeechRecognitionTest, 55 IN_PROC_BROWSER_TEST_F(SpeechRecognitionTest,
55 SpeechFromBackgroundPageWithoutPermission) { 56 SpeechFromBackgroundPageWithoutPermission) {
56 EXPECT_FALSE(base::CommandLine::ForCurrentProcess()->HasSwitch( 57 EXPECT_FALSE(base::CommandLine::ForCurrentProcess()->HasSwitch(
57 switches::kUseFakeUIForMediaStream)); 58 switches::kUseFakeUIForMediaStream));
58 ASSERT_TRUE( 59 ASSERT_TRUE(
59 RunPlatformAppTest("platform_apps/speech/background_page_no_permission")) 60 RunPlatformAppTest("platform_apps/speech/background_page_no_permission"))
60 << message_; 61 << message_;
61 } 62 }
OLDNEW
« no previous file with comments | « chrome/browser/apps/app_shim/unix_domain_socket_acceptor.h ('k') | chrome/browser/apps/app_url_redirector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698