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

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

Issue 772433004: Allow the content client to override browser Mojo services. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Jam's comments. Created 6 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
« 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 "ui/gfx/image/image_skia.h" 8 #include "ui/gfx/image/image_skia.h"
9 #include "url/gurl.h" 9 #include "url/gurl.h"
10 10
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 BrowserContext* browser_context, 313 BrowserContext* browser_context,
314 const GURL& url) { 314 const GURL& url) {
315 return false; 315 return false;
316 } 316 }
317 317
318 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess( 318 net::CookieStore* ContentBrowserClient::OverrideCookieStoreForRenderProcess(
319 int render_process_id) { 319 int render_process_id) {
320 return NULL; 320 return NULL;
321 } 321 }
322 322
323 bool ContentBrowserClient::CheckMediaAccessPermission(
324 BrowserContext* browser_context,
325 const GURL& security_origin,
326 MediaStreamType type) {
327 return false;
328 }
329
323 #if defined(OS_WIN) 330 #if defined(OS_WIN)
324 const wchar_t* ContentBrowserClient::GetResourceDllName() { 331 const wchar_t* ContentBrowserClient::GetResourceDllName() {
325 return NULL; 332 return NULL;
326 } 333 }
327 #endif 334 #endif
328 335
329 #if defined(VIDEO_HOLE) 336 #if defined(VIDEO_HOLE)
330 ExternalVideoSurfaceContainer* 337 ExternalVideoSurfaceContainer*
331 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 338 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
332 WebContents* web_contents) { 339 WebContents* web_contents) {
333 return NULL; 340 return NULL;
334 } 341 }
335 #endif 342 #endif
336 343
337 bool ContentBrowserClient::CheckMediaAccessPermission(
338 BrowserContext* browser_context,
339 const GURL& security_origin,
340 MediaStreamType type) {
341 return false;
342 }
343
344 } // namespace content 344 } // 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