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

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

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 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_main_parts.h" 7 #include "android_webview/browser/aw_browser_main_parts.h"
8 #include "android_webview/browser/aw_cookie_access_policy.h" 8 #include "android_webview/browser/aw_cookie_access_policy.h"
9 #include "android_webview/browser/aw_quota_permission_context.h" 9 #include "android_webview/browser/aw_quota_permission_context.h"
10 #include "android_webview/browser/net_disk_cache_remover.h" 10 #include "android_webview/browser/net_disk_cache_remover.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 return std::string(); 304 return std::string();
305 } 305 }
306 306
307 void AwContentBrowserClient::DidCreatePpapiPlugin( 307 void AwContentBrowserClient::DidCreatePpapiPlugin(
308 content::BrowserPpapiHost* browser_host) { 308 content::BrowserPpapiHost* browser_host) {
309 NOTREACHED() << "Android WebView does not support plugins"; 309 NOTREACHED() << "Android WebView does not support plugins";
310 } 310 }
311 311
312 bool AwContentBrowserClient::AllowPepperSocketAPI( 312 bool AwContentBrowserClient::AllowPepperSocketAPI(
313 content::BrowserContext* browser_context, 313 content::BrowserContext* browser_context,
314 const GURL& url) { 314 const GURL& url,
315 const content::SocketPermissionRequest& params) {
315 NOTREACHED() << "Android WebView does not support plugins"; 316 NOTREACHED() << "Android WebView does not support plugins";
316 return false; 317 return false;
317 } 318 }
318 319
319 } // namespace android_webview 320 } // 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