| 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 "chromecast/browser/cast_permission_manager.h" | 5 #include "chromecast/browser/cast_permission_manager.h" |
| 6 | 6 |
| 7 #include "base/callback.h" | 7 #include "base/callback.h" |
| 8 #include "base/logging.h" | 8 #include "base/logging.h" |
| 9 #include "content/public/browser/permission_type.h" | 9 #include "content/public/browser/permission_type.h" |
| 10 | 10 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 LOG(INFO) << __FUNCTION__ << ": " << static_cast<int>(permission); | 49 LOG(INFO) << __FUNCTION__ << ": " << static_cast<int>(permission); |
| 50 return content::PermissionStatus::PERMISSION_STATUS_GRANTED; | 50 return content::PermissionStatus::PERMISSION_STATUS_GRANTED; |
| 51 } | 51 } |
| 52 | 52 |
| 53 void CastPermissionManager::RegisterPermissionUsage( | 53 void CastPermissionManager::RegisterPermissionUsage( |
| 54 content::PermissionType permission, | 54 content::PermissionType permission, |
| 55 const GURL& requesting_origin, | 55 const GURL& requesting_origin, |
| 56 const GURL& embedding_origin) { | 56 const GURL& embedding_origin) { |
| 57 } | 57 } |
| 58 | 58 |
| 59 int CastPermissionManager::SubscribePermissionStatusChange( |
| 60 content::PermissionType permission, |
| 61 const GURL& requesting_origin, |
| 62 const GURL& embedding_origin, |
| 63 const base::Callback<void(content::PermissionStatus)>& callback) { |
| 64 return -1; |
| 65 } |
| 66 |
| 67 void CastPermissionManager::UnsubscribePermissionStatusChange( |
| 68 int subscription_id) { |
| 69 } |
| 70 |
| 59 } // namespace shell | 71 } // namespace shell |
| 60 } // namespace chromecast | 72 } // namespace chromecast |
| OLD | NEW |