| OLD | NEW |
| 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 "base/guid.h" | 8 #include "base/guid.h" |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/public/browser/client_certificate_delegate.h" | 10 #include "content/public/browser/client_certificate_delegate.h" |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, | 72 bool ContentBrowserClient::CanCommitURL(RenderProcessHost* process_host, |
| 73 const GURL& site_url) { | 73 const GURL& site_url) { |
| 74 return true; | 74 return true; |
| 75 } | 75 } |
| 76 | 76 |
| 77 bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance, | 77 bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance, |
| 78 const GURL& url) { | 78 const GURL& url) { |
| 79 return true; | 79 return true; |
| 80 } | 80 } |
| 81 | 81 |
| 82 bool ContentBrowserClient:: |
| 83 ShouldFrameShareParentSiteInstanceDespiteTopDocumentIsolation( |
| 84 const GURL& url, |
| 85 SiteInstance* parent_site_instance) { |
| 86 return false; |
| 87 } |
| 88 |
| 82 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, | 89 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, |
| 83 const GURL& site_url) { | 90 const GURL& site_url) { |
| 84 return true; | 91 return true; |
| 85 } | 92 } |
| 86 | 93 |
| 87 bool ContentBrowserClient::MayReuseHost(RenderProcessHost* process_host) { | 94 bool ContentBrowserClient::MayReuseHost(RenderProcessHost* process_host) { |
| 88 return true; | 95 return true; |
| 89 } | 96 } |
| 90 | 97 |
| 91 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( | 98 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( |
| (...skipping 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 420 const std::string& name) { | 427 const std::string& name) { |
| 421 return nullptr; | 428 return nullptr; |
| 422 } | 429 } |
| 423 | 430 |
| 424 std::unique_ptr<MemoryCoordinatorDelegate> | 431 std::unique_ptr<MemoryCoordinatorDelegate> |
| 425 ContentBrowserClient::GetMemoryCoordinatorDelegate() { | 432 ContentBrowserClient::GetMemoryCoordinatorDelegate() { |
| 426 return std::unique_ptr<MemoryCoordinatorDelegate>(); | 433 return std::unique_ptr<MemoryCoordinatorDelegate>(); |
| 427 } | 434 } |
| 428 | 435 |
| 429 } // namespace content | 436 } // namespace content |
| OLD | NEW |