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

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

Issue 1470823002: Enable builtin Mojo JS modules in layout tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@usb-testing
Patch Set: self review Created 5 years 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 "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "content/public/common/sandbox_type.h" 9 #include "content/public/common/sandbox_type.h"
10 #include "media/base/cdm_factory.h" 10 #include "media/base/cdm_factory.h"
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 SiteInstance* site_instance, 111 SiteInstance* site_instance,
112 const GURL& current_url, 112 const GURL& current_url,
113 const GURL& new_url) { 113 const GURL& new_url) {
114 return false; 114 return false;
115 } 115 }
116 116
117 scoped_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { 117 scoped_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() {
118 return nullptr; 118 return nullptr;
119 } 119 }
120 120
121 int ContentBrowserClient::GetDefaultEnabledBindingsForView(
122 RenderViewHost* view) {
123 return 0;
124 }
125
121 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( 126 bool ContentBrowserClient::ShouldSwapProcessesForRedirect(
122 ResourceContext* resource_context, const GURL& current_url, 127 ResourceContext* resource_context, const GURL& current_url,
123 const GURL& new_url) { 128 const GURL& new_url) {
124 return false; 129 return false;
125 } 130 }
126 131
127 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { 132 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) {
128 return true; 133 return true;
129 } 134 }
130 135
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 #if defined(VIDEO_HOLE) 420 #if defined(VIDEO_HOLE)
416 ExternalVideoSurfaceContainer* 421 ExternalVideoSurfaceContainer*
417 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 422 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
418 WebContents* web_contents) { 423 WebContents* web_contents) {
419 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; 424 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348.";
420 return nullptr; 425 return nullptr;
421 } 426 }
422 #endif 427 #endif
423 428
424 } // namespace content 429 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698