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

Side by Side Diff: content/public/browser/chooser_permission_manager.h

Issue 1560263002: Store Bluetooth permissions in website settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleaned up changes at bluetooth_dispatcher_host.cc Created 4 years, 11 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
(Empty)
1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_PUBLIC_BROWSER_CHOOSER_PERMISSION_MANAGER_H_
6 #define CONTENT_PUBLIC_BROWSER_CHOOSER_PERMISSION_MANAGER_H_
7
8 #include <string>
9
10 #include "content/common/content_export.h"
11
12 class GURL;
13
14 namespace content {
15
16 class CONTENT_EXPORT ChooserPermissionManager {
17 public:
18 virtual ~ChooserPermissionManager() = default;
19
20 virtual void GrantPermission(const GURL& requesting_origin,
21 const GURL& embedding_origin,
22 const std::string& id) = 0;
23
24 virtual void RevokePermission(const GURL& requesting_origin,
25 const GURL& embedding_origin,
26 const std::string& id) = 0;
27 };
28 }
29
30 #endif // CONTENT_PUBLIC_BROWSER_CHOOSER_PERMISSION_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698