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

Unified Diff: android_webview/browser/aw_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: fixed Android build Created 8 years, 1 month 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
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/aw_content_browser_client.h
diff --git a/android_webview/browser/aw_content_browser_client.h b/android_webview/browser/aw_content_browser_client.h
index f69333e7b34c9c7a86dffa5bba538f8001348bf8..2a83f200fe72d29de2df4e8e1767a64e5e94c176 100644
--- a/android_webview/browser/aw_content_browser_client.h
+++ b/android_webview/browser/aw_content_browser_client.h
@@ -115,8 +115,10 @@ class AwContentBrowserClient : 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;
private:
// Android WebView currently has a single global (non-off-the-record) browser
// context.
« no previous file with comments | « no previous file | android_webview/browser/aw_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698