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 "content/shell/browser/shell_permission_manager.h" | 5 #include "content/shell/browser/shell_permission_manager.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "content/public/browser/permission_type.h" | 8 #include "content/public/browser/permission_type.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 const GURL& embedding_origin) { | 46 const GURL& embedding_origin) { |
47 return PERMISSION_STATUS_DENIED; | 47 return PERMISSION_STATUS_DENIED; |
48 } | 48 } |
49 | 49 |
50 void ShellPermissionManager::RegisterPermissionUsage( | 50 void ShellPermissionManager::RegisterPermissionUsage( |
51 PermissionType permission, | 51 PermissionType permission, |
52 const GURL& requesting_origin, | 52 const GURL& requesting_origin, |
53 const GURL& embedding_origin) { | 53 const GURL& embedding_origin) { |
54 } | 54 } |
55 | 55 |
| 56 int ShellPermissionManager::SubscribePermissionStatusChange( |
| 57 PermissionType permission, |
| 58 const GURL& requesting_origin, |
| 59 const GURL& embedding_origin, |
| 60 const base::Callback<void(PermissionStatus)>& callback) { |
| 61 return -1; |
| 62 } |
| 63 |
| 64 void ShellPermissionManager::UnsubscribePermissionStatusChange( |
| 65 int subscription_id) { |
| 66 } |
| 67 |
56 } // namespace content | 68 } // namespace content |
OLD | NEW |