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

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

Issue 1988613005: ppapi: PPB_VpnProvider: Implement Service Helper (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@vpn-permission
Patch Set: Refactor patch. Communication now handled using ContentBrowserClient. Created 4 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
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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 const SocketPermissionRequest* params) { 337 const SocketPermissionRequest* params) {
338 return false; 338 return false;
339 } 339 }
340 340
341 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed( 341 bool ContentBrowserClient::IsPepperVpnProviderAPIAllowed(
342 BrowserContext* browser_context, 342 BrowserContext* browser_context,
343 const GURL& url) { 343 const GURL& url) {
344 return false; 344 return false;
345 } 345 }
346 346
347 VpnServiceProxy* ContentBrowserClient::GetVpnServiceProxy(
348 BrowserContext* browser_context) {
349 return nullptr;
350 }
351
347 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( 352 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy(
348 WebContents* web_contents) { 353 WebContents* web_contents) {
349 return nullptr; 354 return nullptr;
350 } 355 }
351 356
352 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { 357 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() {
353 return nullptr; 358 return nullptr;
354 } 359 }
355 360
356 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { 361 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() {
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 #if defined(VIDEO_HOLE) 431 #if defined(VIDEO_HOLE)
427 ExternalVideoSurfaceContainer* 432 ExternalVideoSurfaceContainer*
428 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 433 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
429 WebContents* web_contents) { 434 WebContents* web_contents) {
430 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 435 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
431 return nullptr; 436 return nullptr;
432 } 437 }
433 #endif 438 #endif
434 439
435 } // namespace content 440 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698