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

Side by Side Diff: content/shell/browser/shell_permission_manager.cc

Issue 990303002: Implement PermissionService::GetNextPermissionChange. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@permission_impl
Patch Set: fix chromecast/ Created 5 years, 8 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
« no previous file with comments | « content/shell/browser/shell_permission_manager.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "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
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
OLDNEW
« no previous file with comments | « content/shell/browser/shell_permission_manager.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698