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

Side by Side Diff: chromecast/browser/cast_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
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 CHROMECAST_BROWSER_CAST_PERMISSION_MANAGER_H_ 5 #ifndef CHROMECAST_BROWSER_CAST_PERMISSION_MANAGER_H_
6 #define CHROMECAST_BROWSER_CAST_PERMISSION_MANAGER_H_ 6 #define CHROMECAST_BROWSER_CAST_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 21 matching lines...) Expand all
32 void ResetPermission(content::PermissionType permission, 32 void ResetPermission(content::PermissionType permission,
33 const GURL& requesting_origin, 33 const GURL& requesting_origin,
34 const GURL& embedding_origin) override; 34 const GURL& embedding_origin) override;
35 content::PermissionStatus GetPermissionStatus( 35 content::PermissionStatus GetPermissionStatus(
36 content::PermissionType permission, 36 content::PermissionType permission,
37 const GURL& requesting_origin, 37 const GURL& requesting_origin,
38 const GURL& embedding_origin) override; 38 const GURL& embedding_origin) override;
39 void RegisterPermissionUsage(content::PermissionType permission, 39 void RegisterPermissionUsage(content::PermissionType permission,
40 const GURL& requesting_origin, 40 const GURL& requesting_origin,
41 const GURL& embedding_origin) override; 41 const GURL& embedding_origin) override;
42 int SubscribePermissionStatusChange(
43 content::PermissionType permission,
44 const GURL& requesting_origin,
45 const GURL& embedding_origin,
46 const base::Callback<void(content::PermissionStatus)>& callback) override;
47 void UnsubscribePermissionStatusChange(int subscription_id) override;
42 48
43 private: 49 private:
44 DISALLOW_COPY_AND_ASSIGN(CastPermissionManager); 50 DISALLOW_COPY_AND_ASSIGN(CastPermissionManager);
45 }; 51 };
46 52
47 } // namespace shell 53 } // namespace shell
48 } // namespace chromecast 54 } // namespace chromecast
49 55
50 #endif // CHROMECAST_BROWSER_CAST_PERMISSION_MANAGER_H_ 56 #endif // CHROMECAST_BROWSER_CAST_PERMISSION_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/permissions/permission_manager_unittest.cc ('k') | chromecast/browser/cast_permission_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698