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

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: remove duplication Created 8 years, 2 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 3c042c91fe7180618a58892c2c271699c9bd28d5..2c60a2632e5c74d595638960ef9482ad752a5e59 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 content::SocketPermissionRequest& params) OVERRIDE;
virtual bool AllowPepperPrivateFileAPI() OVERRIDE;
virtual FilePath GetHyphenDictionaryDirectory() OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698