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

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

Issue 2947413002: Restrict CM API interface request and message dispatch. (Closed)
Patch Set: Address nit from clamy@. Created 3 years, 5 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 <utility> 7 #include <utility>
8 8
9 #include "base/files/file_path.h" 9 #include "base/files/file_path.h"
10 #include "base/guid.h" 10 #include "base/guid.h"
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 BrowserContext* browser_context, 383 BrowserContext* browser_context,
384 const GURL& url) { 384 const GURL& url) {
385 return false; 385 return false;
386 } 386 }
387 387
388 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext( 388 std::string ContentBrowserClient::GetServiceUserIdForBrowserContext(
389 BrowserContext* browser_context) { 389 BrowserContext* browser_context) {
390 return base::GenerateGUID(); 390 return base::GenerateGUID();
391 } 391 }
392 392
393 bool ContentBrowserClient::BindAssociatedInterfaceRequestFromFrame(
394 RenderFrameHost* render_frame_host,
395 const std::string& interface_name,
396 mojo::ScopedInterfaceEndpointHandle* handle) {
397 return false;
398 }
399
393 ControllerPresentationServiceDelegate* 400 ControllerPresentationServiceDelegate*
394 ContentBrowserClient::GetControllerPresentationServiceDelegate( 401 ContentBrowserClient::GetControllerPresentationServiceDelegate(
395 WebContents* web_contents) { 402 WebContents* web_contents) {
396 return nullptr; 403 return nullptr;
397 } 404 }
398 405
399 ReceiverPresentationServiceDelegate* 406 ReceiverPresentationServiceDelegate*
400 ContentBrowserClient::GetReceiverPresentationServiceDelegate( 407 ContentBrowserClient::GetReceiverPresentationServiceDelegate(
401 WebContents* web_contents) { 408 WebContents* web_contents) {
402 return nullptr; 409 return nullptr;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
460 return nullptr; 467 return nullptr;
461 } 468 }
462 469
463 std::vector<std::unique_ptr<URLLoaderThrottle>> 470 std::vector<std::unique_ptr<URLLoaderThrottle>>
464 ContentBrowserClient::CreateURLLoaderThrottles( 471 ContentBrowserClient::CreateURLLoaderThrottles(
465 const base::Callback<WebContents*()>& wc_getter) { 472 const base::Callback<WebContents*()>& wc_getter) {
466 return std::vector<std::unique_ptr<URLLoaderThrottle>>(); 473 return std::vector<std::unique_ptr<URLLoaderThrottle>>();
467 } 474 }
468 475
469 } // namespace content 476 } // 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