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

Unified Diff: chrome/browser/permissions/permission_request_manager_test_api.cc

Issue 2675483002: Replace PermissionType in chrome/ with ContentSettingsType (Closed)
Patch Set: rebase Created 3 years, 10 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/permissions/permission_request_manager_test_api.cc
diff --git a/chrome/browser/permissions/permission_request_manager_test_api.cc b/chrome/browser/permissions/permission_request_manager_test_api.cc
index d2e1bd47f2bde8c51ff547f7ceff15f77f77dff3..7144ddb9b66d4953a1dd0cb7e0ddca7954b09697 100644
--- a/chrome/browser/permissions/permission_request_manager_test_api.cc
+++ b/chrome/browser/permissions/permission_request_manager_test_api.cc
@@ -18,7 +18,7 @@ namespace {
// handle all destruction paths.
class TestPermisisonRequestOwner {
public:
- TestPermisisonRequestOwner(Profile* profile, content::PermissionType type) {
+ TestPermisisonRequestOwner(Profile* profile, ContentSettingsType type) {
bool user_gesture = true;
auto decided = [](bool, ContentSetting) {};
request_ = base::MakeUnique<PermissionRequestImpl>(
@@ -50,7 +50,7 @@ PermissionRequestManagerTestApi::PermissionRequestManagerTestApi(
void PermissionRequestManagerTestApi::AddSimpleRequest(
Profile* profile,
- content::PermissionType type) {
+ ContentSettingsType type) {
TestPermisisonRequestOwner* request_owner =
new TestPermisisonRequestOwner(profile, type);
manager_->AddRequest(request_owner->request());

Powered by Google App Engine
This is Rietveld 408576698