OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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.h" | 5 #include "chrome/browser/permissions/permission_request.h" |
6 | 6 |
7 #include "ui/gfx/vector_icons_public.h" | |
8 | 7 |
9 PermissionRequest::PermissionRequest() : persist_(true) {} | 8 PermissionRequest::PermissionRequest() : persist_(true) {} |
10 | 9 |
11 bool PermissionRequest::ShouldShowPersistenceToggle() const { | 10 bool PermissionRequest::ShouldShowPersistenceToggle() const { |
12 return false; | 11 return false; |
13 } | 12 } |
14 | 13 |
15 PermissionRequestType PermissionRequest::GetPermissionRequestType() const { | 14 PermissionRequestType PermissionRequest::GetPermissionRequestType() const { |
16 return PermissionRequestType::UNKNOWN; | 15 return PermissionRequestType::UNKNOWN; |
17 } | 16 } |
18 | 17 |
19 PermissionRequestGestureType PermissionRequest::GetGestureType() const { | 18 PermissionRequestGestureType PermissionRequest::GetGestureType() const { |
20 return PermissionRequestGestureType::UNKNOWN; | 19 return PermissionRequestGestureType::UNKNOWN; |
21 } | 20 } |
22 | 21 |
23 ContentSettingsType PermissionRequest::GetContentSettingsType() const { | 22 ContentSettingsType PermissionRequest::GetContentSettingsType() const { |
24 return CONTENT_SETTINGS_TYPE_DEFAULT; | 23 return CONTENT_SETTINGS_TYPE_DEFAULT; |
25 } | 24 } |
OLD | NEW |