OLD | NEW |
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_request_impl.h" | 5 #include "chrome/browser/permissions/permission_request_impl.h" |
6 | 6 |
7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
8 #include "chrome/browser/permissions/permission_decision_auto_blocker.h" | 8 #include "chrome/browser/permissions/permission_decision_auto_blocker.h" |
9 #include "chrome/browser/permissions/permission_uma_util.h" | 9 #include "chrome/browser/permissions/permission_uma_util.h" |
10 #include "chrome/browser/permissions/permission_util.h" | 10 #include "chrome/browser/permissions/permission_util.h" |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
165 | 165 |
166 PermissionRequestType PermissionRequestImpl::GetPermissionRequestType() | 166 PermissionRequestType PermissionRequestImpl::GetPermissionRequestType() |
167 const { | 167 const { |
168 return PermissionUtil::GetRequestType(content_settings_type_); | 168 return PermissionUtil::GetRequestType(content_settings_type_); |
169 } | 169 } |
170 | 170 |
171 PermissionRequestGestureType PermissionRequestImpl::GetGestureType() | 171 PermissionRequestGestureType PermissionRequestImpl::GetGestureType() |
172 const { | 172 const { |
173 return PermissionUtil::GetGestureType(has_gesture_); | 173 return PermissionUtil::GetGestureType(has_gesture_); |
174 } | 174 } |
| 175 |
| 176 ContentSettingsType PermissionRequestImpl::GetContentSettingsType() const { |
| 177 return content_settings_type_; |
| 178 } |
OLD | NEW |