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

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

Issue 2499313002: Don't split off NTP subframes with TDI. (Closed)
Patch Set: updates Created 4 years, 1 month 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 "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
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
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
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