| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #include "chrome/browser/permissions/permission_request.h" |
| |
| |
| PermissionRequest::PermissionRequest() : persist_(true) {} |
| |
| bool PermissionRequest::ShouldShowPersistenceToggle() const { |
| return false; |
| } |
| |
| PermissionRequestGestureType PermissionRequest::GetGestureType() const { |
| return PermissionRequestGestureType::UNKNOWN; |
| } |
| |
| ContentSettingsType PermissionRequest::GetContentSettingsType() const { |
| return CONTENT_SETTINGS_TYPE_DEFAULT; |
| } |