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

Side by Side Diff: extensions/browser/guest_view/web_view/web_view_media_access_apitest.cc

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/macros.h"
5 #include "base/strings/stringprintf.h" 6 #include "base/strings/stringprintf.h"
6 #include "content/public/browser/web_contents_delegate.h" 7 #include "content/public/browser/web_contents_delegate.h"
7 #include "content/public/test/browser_test_utils.h" 8 #include "content/public/test/browser_test_utils.h"
8 #include "extensions/browser/guest_view/web_view/web_view_apitest.h" 9 #include "extensions/browser/guest_view/web_view/web_view_apitest.h"
9 #include "extensions/test/extension_test_message_listener.h" 10 #include "extensions/test/extension_test_message_listener.h"
10 11
11 namespace { 12 namespace {
12 13
13 // This class intercepts media access request from the embedder. The request 14 // This class intercepts media access request from the embedder. The request
14 // should be triggered only if the embedder API (from tests) allows the request 15 // should be triggered only if the embedder API (from tests) allows the request
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 RunTest("testNoListenersImplyDeny"); 163 RunTest("testNoListenersImplyDeny");
163 } 164 }
164 165
165 IN_PROC_BROWSER_TEST_F(WebViewMediaAccessAPITest, 166 IN_PROC_BROWSER_TEST_F(WebViewMediaAccessAPITest,
166 TestNoPreventDefaultImpliesDeny) { 167 TestNoPreventDefaultImpliesDeny) {
167 LaunchApp("web_view/media_access/deny"); 168 LaunchApp("web_view/media_access/deny");
168 RunTest("testNoPreventDefaultImpliesDeny"); 169 RunTest("testNoPreventDefaultImpliesDeny");
169 } 170 }
170 171
171 } // namespace extensions 172 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698