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

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

Issue 2894973002: Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: rebase Created 3 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: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index ccddb5ac35ee367b8867c128038ed4192525fe78..438023c37dbdaebb2a99ff25ab2150435481b592 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -23,6 +23,7 @@
#include "chrome/common/prerender_types.h"
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
+#include "content/public/browser/web_contents.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/common/referrer.h"
#include "mojo/public/cpp/bindings/binding.h"
@@ -38,7 +39,6 @@ class ProcessMetrics;
namespace content {
class RenderViewHost;
class SessionStorageNamespace;
-class WebContents;
}
namespace history {
@@ -281,6 +281,7 @@ class PrerenderContents : public content::NotificationObserver,
}
content::WebContents* CreateWebContents(
+ const content::WebContents::CreateParams& create_params,
content::SessionStorageNamespace* session_storage_namespace);
PrerenderMode prerender_mode_;
« no previous file with comments | « chrome/browser/page_load_metrics/page_load_metrics_initialize.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698