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

Unified Diff: chrome/browser/chrome_content_browser_client.h

Issue 10993078: Use extensions socket permission for TCP/UDP socket APIs in Pepper (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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: chrome/browser/chrome_content_browser_client.h
diff --git a/chrome/browser/chrome_content_browser_client.h b/chrome/browser/chrome_content_browser_client.h
index 4a17eb630972fe230f7e9158e062819420ede0ec..23b3d1ed862650169276aaf1b3430a5b3f284c53 100644
--- a/chrome/browser/chrome_content_browser_client.h
+++ b/chrome/browser/chrome_content_browser_client.h
@@ -200,8 +200,10 @@ class ChromeContentBrowserClient : public content::ContentBrowserClient {
virtual std::string GetDefaultDownloadName() OVERRIDE;
virtual void DidCreatePpapiPlugin(
content::BrowserPpapiHost* browser_host) OVERRIDE;
- virtual bool AllowPepperSocketAPI(content::BrowserContext* browser_context,
- const GURL& url) OVERRIDE;
+ virtual bool AllowPepperSocketAPI(
+ content::BrowserContext* browser_context,
+ const GURL& url,
+ const SocketPermissionParam& params) OVERRIDE;
virtual bool AllowPepperPrivateFileAPI() OVERRIDE;
#if defined(OS_POSIX) && !defined(OS_MACOSX)
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | chrome/browser/chrome_content_browser_client.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698