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

Side by Side Diff: content/public/browser/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
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "content/public/browser/content_browser_client.h" 5 #include "content/public/browser/content_browser_client.h"
6 6
7 #include "base/files/file_path.h" 7 #include "base/files/file_path.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 10
(...skipping 245 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 } 256 }
257 257
258 bool ContentBrowserClient::SupportsBrowserPlugin( 258 bool ContentBrowserClient::SupportsBrowserPlugin(
259 BrowserContext* browser_context, const GURL& site_url) { 259 BrowserContext* browser_context, const GURL& site_url) {
260 return false; 260 return false;
261 } 261 }
262 262
263 bool ContentBrowserClient::AllowPepperSocketAPI( 263 bool ContentBrowserClient::AllowPepperSocketAPI(
264 BrowserContext* browser_context, 264 BrowserContext* browser_context,
265 const GURL& url, 265 const GURL& url,
266 bool private_api,
266 const SocketPermissionRequest& params) { 267 const SocketPermissionRequest& params) {
267 return false; 268 return false;
268 } 269 }
269 270
270 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() { 271 base::FilePath ContentBrowserClient::GetHyphenDictionaryDirectory() {
271 return base::FilePath(); 272 return base::FilePath();
272 } 273 }
273 274
274 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( 275 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy(
275 WebContents* web_contents) { 276 WebContents* web_contents) {
(...skipping 11 matching lines...) Expand all
287 #endif 288 #endif
288 289
289 #if defined(USE_NSS) 290 #if defined(USE_NSS)
290 crypto::CryptoModuleBlockingPasswordDelegate* 291 crypto::CryptoModuleBlockingPasswordDelegate*
291 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) { 292 ContentBrowserClient::GetCryptoPasswordDelegate(const GURL& url) {
292 return NULL; 293 return NULL;
293 } 294 }
294 #endif 295 #endif
295 296
296 } // namespace content 297 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698