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

Unified Diff: chrome/browser/ui/tab_helpers.h

Issue 2983533002: Revert of Provide WebContents::CreateParams to tab helpers. (Closed)
Patch Set: Created 3 years, 5 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
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/tab_helpers.h
diff --git a/chrome/browser/ui/tab_helpers.h b/chrome/browser/ui/tab_helpers.h
index 8dab43f5531e207aff68631dd40e8edc38e57503..72c3e1149f8c6387e6000e5b7bb08814df76fd19 100644
--- a/chrome/browser/ui/tab_helpers.h
+++ b/chrome/browser/ui/tab_helpers.h
@@ -5,11 +5,12 @@
#ifndef CHROME_BROWSER_UI_TAB_HELPERS_H_
#define CHROME_BROWSER_UI_TAB_HELPERS_H_
-#include "base/optional.h"
-#include "content/public/browser/web_contents.h"
-
namespace android {
class TabWebContentsDelegateAndroid;
+}
+
+namespace content {
+class WebContents;
}
namespace chrome {
@@ -59,9 +60,7 @@
// all the associated tab helpers that are needed for the WebContents to
// serve in that role. It is safe to call this on a WebContents that was
// already adopted.
- static void AttachTabHelpers(
- content::WebContents* web_contents,
- const base::Optional<content::WebContents::CreateParams>& create_params);
+ static void AttachTabHelpers(content::WebContents* web_contents);
};
#endif // CHROME_BROWSER_UI_TAB_HELPERS_H_
« no previous file with comments | « chrome/browser/ui/browser_tab_strip_model_delegate.cc ('k') | chrome/browser/ui/tab_helpers.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698