Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: chromecast/browser/cast_permission_manager.cc

Issue 2697473002: Remove last usage functions from HostContentSettingsMap and clean up prefs (Closed)
Patch Set: fix up unit test Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 } 51 }
52 52
53 blink::mojom::PermissionStatus CastPermissionManager::GetPermissionStatus( 53 blink::mojom::PermissionStatus CastPermissionManager::GetPermissionStatus(
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 LOG(INFO) << __FUNCTION__ << ": " << static_cast<int>(permission); 57 LOG(INFO) << __FUNCTION__ << ": " << static_cast<int>(permission);
58 return blink::mojom::PermissionStatus::GRANTED; 58 return blink::mojom::PermissionStatus::GRANTED;
59 } 59 }
60 60
61 void CastPermissionManager::RegisterPermissionUsage(
62 content::PermissionType permission,
63 const GURL& requesting_origin,
64 const GURL& embedding_origin) {
65 }
66
67 int CastPermissionManager::SubscribePermissionStatusChange( 61 int CastPermissionManager::SubscribePermissionStatusChange(
68 content::PermissionType permission, 62 content::PermissionType permission,
69 const GURL& requesting_origin, 63 const GURL& requesting_origin,
70 const GURL& embedding_origin, 64 const GURL& embedding_origin,
71 const base::Callback<void(blink::mojom::PermissionStatus)>& callback) { 65 const base::Callback<void(blink::mojom::PermissionStatus)>& callback) {
72 return kNoPendingOperation; 66 return kNoPendingOperation;
73 } 67 }
74 68
75 void CastPermissionManager::UnsubscribePermissionStatusChange( 69 void CastPermissionManager::UnsubscribePermissionStatusChange(
76 int subscription_id) { 70 int subscription_id) {
77 } 71 }
78 72
79 } // namespace shell 73 } // namespace shell
80 } // namespace chromecast 74 } // namespace chromecast
OLDNEW
« no previous file with comments | « chromecast/browser/cast_permission_manager.h ('k') | components/content_settings/core/browser/content_settings_pref.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698