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

Unified Diff: chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc

Issue 2458453002: [sensors] Add Permission guard to the generic sensor apis.
Patch Set: rebase + blink reformat Created 3 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc
diff --git a/chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc b/chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc
index 0f73de7168910d817c33a8b354f33c4444cb0c62..617aac445d1af0c4c04023b5018183f42315e4e8 100644
--- a/chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc
+++ b/chrome/browser/ui/views/page_info/page_info_bubble_view_unittest.cc
@@ -186,7 +186,7 @@ TEST_F(PageInfoBubbleViewTest, MAYBE_SetPermissionInfo) {
const int kExpectedChildren =
kViewsPerPermissionRow *
- (ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled() ? 11 : 13);
+ (ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled() ? 12 : 14);
EXPECT_EQ(kExpectedChildren, api_->permissions_view()->child_count());
list.back().setting = CONTENT_SETTING_ALLOW;
@@ -228,7 +228,7 @@ TEST_F(PageInfoBubbleViewTest, MAYBE_SetPermissionInfo) {
TEST_F(PageInfoBubbleViewTest, SetPermissionInfoWithUsbDevice) {
const int kExpectedChildren =
kViewsPerPermissionRow *
- (ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled() ? 11 : 13);
+ (ExclusiveAccessManager::IsSimplifiedFullscreenUIEnabled() ? 12 : 14);
EXPECT_EQ(kExpectedChildren, api_->permissions_view()->child_count());
const GURL origin = GURL(kUrl).GetOrigin();
« no previous file with comments | « chrome/browser/ui/page_info/page_info_ui.cc ('k') | chrome/browser/ui/webui/options/content_settings_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698