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

Side by Side Diff: android_webview/browser/aw_permission_manager.h

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 | « no previous file | android_webview/browser/aw_permission_manager.cc » ('j') | 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 #ifndef ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_
6 #define ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_
7 7
8 #include "base/callback_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "content/public/browser/permission_manager.h" 10 #include "content/public/browser/permission_manager.h"
(...skipping 20 matching lines...) Expand all
31 void ResetPermission(content::PermissionType permission, 31 void ResetPermission(content::PermissionType permission,
32 const GURL& requesting_origin, 32 const GURL& requesting_origin,
33 const GURL& embedding_origin) override; 33 const GURL& embedding_origin) override;
34 content::PermissionStatus GetPermissionStatus( 34 content::PermissionStatus GetPermissionStatus(
35 content::PermissionType permission, 35 content::PermissionType permission,
36 const GURL& requesting_origin, 36 const GURL& requesting_origin,
37 const GURL& embedding_origin) override; 37 const GURL& embedding_origin) override;
38 void RegisterPermissionUsage(content::PermissionType permission, 38 void RegisterPermissionUsage(content::PermissionType permission,
39 const GURL& requesting_origin, 39 const GURL& requesting_origin,
40 const GURL& embedding_origin) override; 40 const GURL& embedding_origin) override;
41 int SubscribePermissionStatusChange(
42 content::PermissionType permission,
43 const GURL& requesting_origin,
44 const GURL& embedding_origin,
45 const base::Callback<void(content::PermissionStatus)>& callback) override;
46 void UnsubscribePermissionStatusChange(int subscription_id) override;
41 47
42 private: 48 private:
43 DISALLOW_COPY_AND_ASSIGN(AwPermissionManager); 49 DISALLOW_COPY_AND_ASSIGN(AwPermissionManager);
44 }; 50 };
45 51
46 } // namespace android_webview 52 } // namespace android_webview
47 53
48 #endif // ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_ 54 #endif // ANDROID_WEBVIEW_BROWSER_AW_PERMISSION_MANAGER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/aw_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698