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

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

Issue 280403002: Only commit cookie changes in prerenders after a prerender is shown (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: fix sync related bug Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | net/cookies/canonical_cookie.h » ('j') | 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance, 59 bool ContentBrowserClient::ShouldAllowOpenURL(SiteInstance* site_instance,
60 const GURL& url) { 60 const GURL& url) {
61 return true; 61 return true;
62 } 62 }
63 63
64 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host, 64 bool ContentBrowserClient::IsSuitableHost(RenderProcessHost* process_host,
65 const GURL& site_url) { 65 const GURL& site_url) {
66 return true; 66 return true;
67 } 67 }
68 68
69 bool ContentBrowserClient::MayReuseHost(RenderProcessHost* process_host) {
70 return true;
71 }
72
69 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
70 BrowserContext* browser_context, const GURL& url) { 74 BrowserContext* browser_context, const GURL& url) {
71 return false; 75 return false;
72 } 76 }
73 77
74 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation( 78 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation(
75 SiteInstance* site_instance, 79 SiteInstance* site_instance,
76 const GURL& current_url, 80 const GURL& current_url,
77 const GURL& new_url) { 81 const GURL& new_url) {
78 return false; 82 return false;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 310
307 #if defined(VIDEO_HOLE) 311 #if defined(VIDEO_HOLE)
308 ExternalVideoSurfaceContainer* 312 ExternalVideoSurfaceContainer*
309 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 313 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
310 WebContents* web_contents) { 314 WebContents* web_contents) {
311 return NULL; 315 return NULL;
312 } 316 }
313 #endif 317 #endif
314 318
315 } // namespace content 319 } // namespace content
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | net/cookies/canonical_cookie.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698