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

Side by Side Diff: android_webview/browser/aw_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
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 "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
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
OLDNEW
« no previous file with comments | « android_webview/browser/aw_permission_manager.h ('k') | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698