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

Side by Side Diff: chrome/browser/permissions/permission_context_base_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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 "chrome/browser/permissions/permission_context_base.h" 5 #include "chrome/browser/permissions/permission_context_base.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/macros.h"
9 #include "base/metrics/field_trial.h" 10 #include "base/metrics/field_trial.h"
10 #include "base/test/mock_entropy_provider.h" 11 #include "base/test/mock_entropy_provider.h"
12 #include "build/build_config.h"
11 #include "chrome/browser/content_settings/host_content_settings_map_factory.h" 13 #include "chrome/browser/content_settings/host_content_settings_map_factory.h"
12 #include "chrome/browser/infobars/infobar_service.h" 14 #include "chrome/browser/infobars/infobar_service.h"
13 #include "chrome/browser/permissions/permission_queue_controller.h" 15 #include "chrome/browser/permissions/permission_queue_controller.h"
14 #include "chrome/browser/permissions/permission_request_id.h" 16 #include "chrome/browser/permissions/permission_request_id.h"
15 #include "chrome/browser/permissions/permission_util.h" 17 #include "chrome/browser/permissions/permission_util.h"
16 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h" 18 #include "chrome/browser/ui/website_settings/permission_bubble_manager.h"
17 #include "chrome/common/chrome_switches.h" 19 #include "chrome/common/chrome_switches.h"
18 #include "chrome/test/base/chrome_render_view_host_test_harness.h" 20 #include "chrome/test/base/chrome_render_view_host_test_harness.h"
19 #include "chrome/test/base/testing_profile.h" 21 #include "chrome/test/base/testing_profile.h"
20 #include "components/content_settings/core/browser/host_content_settings_map.h" 22 #include "components/content_settings/core/browser/host_content_settings_map.h"
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after
379 #if defined(OS_ANDROID) || defined(OS_CHROMEOS) 381 #if defined(OS_ANDROID) || defined(OS_CHROMEOS)
380 TestGlobalPermissionsKillSwitch( 382 TestGlobalPermissionsKillSwitch(
381 content::PermissionType::PROTECTED_MEDIA_IDENTIFIER, 383 content::PermissionType::PROTECTED_MEDIA_IDENTIFIER,
382 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER); 384 CONTENT_SETTINGS_TYPE_PROTECTED_MEDIA_IDENTIFIER);
383 #endif 385 #endif
384 TestGlobalPermissionsKillSwitch(content::PermissionType::AUDIO_CAPTURE, 386 TestGlobalPermissionsKillSwitch(content::PermissionType::AUDIO_CAPTURE,
385 CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC); 387 CONTENT_SETTINGS_TYPE_MEDIASTREAM_MIC);
386 TestGlobalPermissionsKillSwitch(content::PermissionType::VIDEO_CAPTURE, 388 TestGlobalPermissionsKillSwitch(content::PermissionType::VIDEO_CAPTURE,
387 CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA); 389 CONTENT_SETTINGS_TYPE_MEDIASTREAM_CAMERA);
388 } 390 }
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_context_base.cc ('k') | chrome/browser/permissions/permission_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698