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

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: 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..a4081512bff5e24bfe3aded5ef5538b84496fe36 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(content::BrowserContext* browser_context,
jam 2012/03/01 06:21:26 ditto
Dmitry Polukhin 2012/03/01 06:36:05 Done.
+ const GURL& url) = 0;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
// Can return an optional fd for crash handling, otherwise returns -1. The

Powered by Google App Engine
This is Rietveld 408576698