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

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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
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 "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/client_certificate_delegate.h" 9 #include "content/public/browser/client_certificate_delegate.h"
10 #include "content/public/common/sandbox_type.h" 10 #include "content/public/common/sandbox_type.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
353 } 353 }
354 354
355 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { 355 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() {
356 return nullptr; 356 return nullptr;
357 } 357 }
358 358
359 TracingDelegate* ContentBrowserClient::GetTracingDelegate() { 359 TracingDelegate* ContentBrowserClient::GetTracingDelegate() {
360 return nullptr; 360 return nullptr;
361 } 361 }
362 362
363 bool ContentBrowserClient::IsNPAPIEnabled() {
364 return false;
365 }
366
367 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( 363 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle(
368 BrowserContext* browser_context, 364 BrowserContext* browser_context,
369 const GURL& url) { 365 const GURL& url) {
370 return false; 366 return false;
371 } 367 }
372 368
373 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( 369 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs(
374 BrowserContext* browser_context, 370 BrowserContext* browser_context,
375 const GURL& url) { 371 const GURL& url) {
376 return false; 372 return false;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 #if defined(VIDEO_HOLE) 425 #if defined(VIDEO_HOLE)
430 ExternalVideoSurfaceContainer* 426 ExternalVideoSurfaceContainer*
431 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 427 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
432 WebContents* web_contents) { 428 WebContents* web_contents) {
433 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 429 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
434 return nullptr; 430 return nullptr;
435 } 431 }
436 #endif 432 #endif
437 433
438 } // namespace content 434 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/browser/plugin_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698