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

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

Issue 9539011: Make socket permission also allow Pepper sockets (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: nit Created 8 years, 10 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 a6adede6ae4fa3a3ad12ca269891da78721fc941..6527a84fbc28172bff2cb82d22ac222c3da81346 100644
--- a/content/public/browser/content_browser_client.h
+++ b/content/public/browser/content_browser_client.h
@@ -364,7 +364,8 @@ class ContentBrowserClient {
virtual std::string GetDefaultDownloadName() = 0;
// Returns true if given origin can use TCP/UDP sockets.
- virtual bool AllowSocketAPI(const GURL& url) = 0;
+ virtual bool AllowSocketAPI(BrowserContext* browser_context,
+ const GURL& url) = 0;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1. The
« no previous file with comments | « content/browser/renderer_host/pepper_message_filter.cc ('k') | content/shell/shell_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698