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

Unified Diff: trunk/src/chrome/browser/prerender/prerender_contents.h

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 side-by-side diff with in-line comments
Download patch
Index: trunk/src/chrome/browser/prerender/prerender_contents.h
===================================================================
--- trunk/src/chrome/browser/prerender/prerender_contents.h (revision 269877)
+++ trunk/src/chrome/browser/prerender/prerender_contents.h (working copy)
@@ -39,10 +39,6 @@
struct HistoryAddPageArgs;
}
-namespace net {
-class URLRequestContextGetter;
-}
-
namespace prerender {
class PrerenderHandle;
@@ -50,8 +46,7 @@
class PrerenderResourceThrottle;
class PrerenderContents : public content::NotificationObserver,
- public content::WebContentsObserver,
- public base::SupportsWeakPtr<PrerenderContents> {
+ public content::WebContentsObserver {
public:
// PrerenderContents::Create uses the currently registered Factory to create
// the PrerenderContents. Factory is intended for testing.
@@ -156,8 +151,7 @@
virtual void StartPrerendering(
int creator_child_id,
const gfx::Size& size,
- content::SessionStorageNamespace* session_storage_namespace,
- net::URLRequestContextGetter* request_context);
+ content::SessionStorageNamespace* session_storage_namespace);
// Verifies that the prerendering is not using too many resources, and kills
// it if not.
« no previous file with comments | « trunk/src/chrome/browser/prerender/prerender_browsertest.cc ('k') | trunk/src/chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698