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 "android_webview/browser/aw_permission_manager.h" | 5 #include "android_webview/browser/aw_permission_manager.h" |
6 | 6 |
7 #include "android_webview/browser/aw_browser_permission_request_delegate.h" | 7 #include "android_webview/browser/aw_browser_permission_request_delegate.h" |
8 #include "base/callback.h" | 8 #include "base/callback.h" |
9 #include "content/public/browser/permission_type.h" | 9 #include "content/public/browser/permission_type.h" |
10 #include "content/public/browser/render_process_host.h" | 10 #include "content/public/browser/render_process_host.h" |
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 const GURL& embedding_origin) { | 117 const GURL& embedding_origin) { |
118 return content::PERMISSION_STATUS_DENIED; | 118 return content::PERMISSION_STATUS_DENIED; |
119 } | 119 } |
120 | 120 |
121 void AwPermissionManager::RegisterPermissionUsage( | 121 void AwPermissionManager::RegisterPermissionUsage( |
122 content::PermissionType permission, | 122 content::PermissionType permission, |
123 const GURL& requesting_origin, | 123 const GURL& requesting_origin, |
124 const GURL& embedding_origin) { | 124 const GURL& embedding_origin) { |
125 } | 125 } |
126 | 126 |
| 127 int AwPermissionManager::SubscribePermissionStatusChange( |
| 128 content::PermissionType permission, |
| 129 const GURL& requesting_origin, |
| 130 const GURL& embedding_origin, |
| 131 const base::Callback<void(content::PermissionStatus)>& callback) { |
| 132 return -1; |
| 133 } |
| 134 |
| 135 void AwPermissionManager::UnsubscribePermissionStatusChange( |
| 136 int subscription_id) { |
| 137 } |
| 138 |
127 } // namespace android_webview | 139 } // namespace android_webview |
OLD | NEW |