| 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" | 7 #include "ui/gfx/vector_icons_public.h" |
| 8 | 8 |
| 9 PermissionRequest::PermissionRequest() : persist_(true) {} | 9 PermissionRequest::PermissionRequest() : persist_(true) {} |
| 10 | 10 |
| 11 gfx::VectorIconId PermissionRequest::GetVectorIconId() const { | |
| 12 return gfx::VectorIconId::VECTOR_ICON_NONE; | |
| 13 } | |
| 14 | |
| 15 int PermissionRequest::GetIconId() const { | |
| 16 return 0; | |
| 17 } | |
| 18 | |
| 19 bool PermissionRequest::ShouldShowPersistenceToggle() const { | 11 bool PermissionRequest::ShouldShowPersistenceToggle() const { |
| 20 return false; | 12 return false; |
| 21 } | 13 } |
| 22 | 14 |
| 23 PermissionRequestType PermissionRequest::GetPermissionRequestType() const { | 15 PermissionRequestType PermissionRequest::GetPermissionRequestType() const { |
| 24 return PermissionRequestType::UNKNOWN; | 16 return PermissionRequestType::UNKNOWN; |
| 25 } | 17 } |
| 26 | 18 |
| 27 PermissionRequestGestureType PermissionRequest::GetGestureType() const { | 19 PermissionRequestGestureType PermissionRequest::GetGestureType() const { |
| 28 return PermissionRequestGestureType::UNKNOWN; | 20 return PermissionRequestGestureType::UNKNOWN; |
| 29 } | 21 } |
| OLD | NEW |