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

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

Issue 280383002: Revert 269855 "Only commit cookie changes in prerenders after a ..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
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
73 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost( 69 bool ContentBrowserClient::ShouldTryToUseExistingProcessHost(
74 BrowserContext* browser_context, const GURL& url) { 70 BrowserContext* browser_context, const GURL& url) {
75 return false; 71 return false;
76 } 72 }
77 73
78 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation( 74 bool ContentBrowserClient::ShouldSwapBrowsingInstancesForNavigation(
79 SiteInstance* site_instance, 75 SiteInstance* site_instance,
80 const GURL& current_url, 76 const GURL& current_url,
81 const GURL& new_url) { 77 const GURL& new_url) {
82 return false; 78 return false;
(...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after
310 306
311 #if defined(VIDEO_HOLE) 307 #if defined(VIDEO_HOLE)
312 ExternalVideoSurfaceContainer* 308 ExternalVideoSurfaceContainer*
313 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 309 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
314 WebContents* web_contents) { 310 WebContents* web_contents) {
315 return NULL; 311 return NULL;
316 } 312 }
317 #endif 313 #endif
318 314
319 } // namespace content 315 } // namespace content
OLDNEW
« no previous file with comments | « trunk/src/content/public/browser/content_browser_client.h ('k') | trunk/src/net/cookies/canonical_cookie.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698