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

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

Issue 1125333003: Remove CheckMediaAccessPermission() from ContentBrowserClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
« 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 "content/public/browser/client_certificate_delegate.h" 8 #include "content/public/browser/client_certificate_delegate.h"
9 #include "ui/gfx/image/image_skia.h" 9 #include "ui/gfx/image/image_skia.h"
10 #include "url/gurl.h" 10 #include "url/gurl.h"
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 const GURL& url) { 310 const GURL& url) {
311 return false; 311 return false;
312 } 312 }
313 313
314 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( 314 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs(
315 BrowserContext* browser_context, 315 BrowserContext* browser_context,
316 const GURL& url) { 316 const GURL& url) {
317 return false; 317 return false;
318 } 318 }
319 319
320 bool ContentBrowserClient::CheckMediaAccessPermission(
321 BrowserContext* browser_context,
322 const GURL& security_origin,
323 MediaStreamType type) {
324 return false;
325 }
326
327 PresentationServiceDelegate* 320 PresentationServiceDelegate*
328 ContentBrowserClient::GetPresentationServiceDelegate( 321 ContentBrowserClient::GetPresentationServiceDelegate(
329 WebContents* web_contents) { 322 WebContents* web_contents) {
330 return nullptr; 323 return nullptr;
331 } 324 }
332 325
333 void ContentBrowserClient::OpenURL( 326 void ContentBrowserClient::OpenURL(
334 content::BrowserContext* browser_context, 327 content::BrowserContext* browser_context,
335 const content::OpenURLParams& params, 328 const content::OpenURLParams& params,
336 const base::Callback<void(content::WebContents*)>& callback) { 329 const base::Callback<void(content::WebContents*)>& callback) {
337 callback.Run(nullptr); 330 callback.Run(nullptr);
338 } 331 }
339 332
340 #if defined(OS_WIN) 333 #if defined(OS_WIN)
341 const wchar_t* ContentBrowserClient::GetResourceDllName() { 334 const wchar_t* ContentBrowserClient::GetResourceDllName() {
342 return nullptr; 335 return nullptr;
343 } 336 }
344 #endif 337 #endif
345 338
346 #if defined(VIDEO_HOLE) 339 #if defined(VIDEO_HOLE)
347 ExternalVideoSurfaceContainer* 340 ExternalVideoSurfaceContainer*
348 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 341 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
349 WebContents* web_contents) { 342 WebContents* web_contents) {
350 return nullptr; 343 return nullptr;
351 } 344 }
352 #endif 345 #endif
353 346
354 } // namespace content 347 } // 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