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

Unified Diff: content/public/browser/content_browser_client.h

Issue 1985093002: ppapi: PPB_VpnProvider: Implement permission check (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits Created 4 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/content_browser_client.h
diff --git a/content/public/browser/content_browser_client.h b/content/public/browser/content_browser_client.h
index 5c6d4c53b49b2d19cb3dd73aef872dcce59320f0..7a61399c7d788336dfba16b3a9796183d0ef96da 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -587,6 +587,11 @@ class CONTENT_EXPORT ContentBrowserClient {
bool private_api,
const SocketPermissionRequest* params);
+ // Returns true if the "vpnProvider" permission is allowed from the given
+ // |browser_context| and |url|.
+ virtual bool IsPepperVpnProviderAPIAllowed(BrowserContext* browser_context,
+ const GURL& url);
+
// Returns an implementation of a file selecition policy. Can return nullptr.
virtual ui::SelectFilePolicy* CreateSelectFilePolicy(
WebContents* web_contents);
« no previous file with comments | « chrome/browser/plugins/chrome_content_browser_client_plugins_part.cc ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698