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

Side by Side Diff: android_webview/browser/aw_content_browser_client.cc

Issue 17029002: Change the permission check for Pepper socket API to support both the public and private APIs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "android_webview/browser/aw_content_browser_client.h" 5 #include "android_webview/browser/aw_content_browser_client.h"
6 6
7 #include "android_webview/browser/aw_browser_context.h" 7 #include "android_webview/browser/aw_browser_context.h"
8 #include "android_webview/browser/aw_browser_main_parts.h" 8 #include "android_webview/browser/aw_browser_main_parts.h"
9 #include "android_webview/browser/aw_contents_client_bridge_base.h" 9 #include "android_webview/browser/aw_contents_client_bridge_base.h"
10 #include "android_webview/browser/aw_cookie_access_policy.h" 10 #include "android_webview/browser/aw_cookie_access_policy.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
366 } 366 }
367 367
368 void AwContentBrowserClient::DidCreatePpapiPlugin( 368 void AwContentBrowserClient::DidCreatePpapiPlugin(
369 content::BrowserPpapiHost* browser_host) { 369 content::BrowserPpapiHost* browser_host) {
370 NOTREACHED() << "Android WebView does not support plugins"; 370 NOTREACHED() << "Android WebView does not support plugins";
371 } 371 }
372 372
373 bool AwContentBrowserClient::AllowPepperSocketAPI( 373 bool AwContentBrowserClient::AllowPepperSocketAPI(
374 content::BrowserContext* browser_context, 374 content::BrowserContext* browser_context,
375 const GURL& url, 375 const GURL& url,
376 bool private_api,
376 const content::SocketPermissionRequest& params) { 377 const content::SocketPermissionRequest& params) {
377 NOTREACHED() << "Android WebView does not support plugins"; 378 NOTREACHED() << "Android WebView does not support plugins";
378 return false; 379 return false;
379 } 380 }
380 381
381 } // namespace android_webview 382 } // namespace android_webview
OLDNEW
« no previous file with comments | « android_webview/browser/aw_content_browser_client.h ('k') | chrome/browser/chrome_content_browser_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698