Skip to content

Commit

Permalink
PermissionRequestType moved to //components.
Browse files Browse the repository at this point in the history
Same as this change in master:
24f70b8
  • Loading branch information
mkarolin authored and bsclifton committed Apr 13, 2020
1 parent d2c7c9b commit 62310cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions browser/autoplay/autoplay_permission_context_browsertest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,7 @@ IN_PROC_BROWSER_TEST_F(AutoplayWhitelistServiceTest, AllowIfExactHostMatch) {
NavigateToURLUntilLoadStop(whitelist_autoplay_url(0));
EXPECT_FALSE(popup_prompt_factory->is_visible());
EXPECT_FALSE(popup_prompt_factory->RequestTypeSeen(
PermissionRequestType::PERMISSION_AUTOPLAY));
permissions::PermissionRequestType::PERMISSION_AUTOPLAY));
EXPECT_EQ(0, popup_prompt_factory->TotalRequestCount());
WaitForPlaying();
EXPECT_TRUE(
Expand All @@ -595,7 +595,7 @@ IN_PROC_BROWSER_TEST_F(AutoplayWhitelistServiceTest, AllowIfETLDPlusOneMatch) {
NavigateToURLUntilLoadStop(whitelist_autoplay_url(1));
EXPECT_FALSE(popup_prompt_factory->is_visible());
EXPECT_FALSE(popup_prompt_factory->RequestTypeSeen(
PermissionRequestType::PERMISSION_AUTOPLAY));
permissions::PermissionRequestType::PERMISSION_AUTOPLAY));
EXPECT_EQ(0, popup_prompt_factory->TotalRequestCount());
WaitForPlaying();
EXPECT_TRUE(
Expand All @@ -617,7 +617,7 @@ IN_PROC_BROWSER_TEST_F(AutoplayWhitelistServiceTest,
NavigateToURLUntilLoadStop(whitelist_autoplay_url(2));
EXPECT_FALSE(popup_prompt_factory->is_visible());
EXPECT_FALSE(popup_prompt_factory->RequestTypeSeen(
PermissionRequestType::PERMISSION_AUTOPLAY));
permissions::PermissionRequestType::PERMISSION_AUTOPLAY));
EXPECT_EQ(0, popup_prompt_factory->TotalRequestCount());
WaitForPlaying();
EXPECT_TRUE(
Expand Down

0 comments on commit 62310cd

Please sign in to comment.