Chromium Code Reviews| Index: chrome/browser/ui/tab_helpers.h |
| diff --git a/chrome/browser/ui/tab_helpers.h b/chrome/browser/ui/tab_helpers.h |
| index 72c3e1149f8c6387e6000e5b7bb08814df76fd19..8dab43f5531e207aff68631dd40e8edc38e57503 100644 |
| --- a/chrome/browser/ui/tab_helpers.h |
| +++ b/chrome/browser/ui/tab_helpers.h |
| @@ -5,14 +5,13 @@ |
| #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" |
|
Peter Kasting
2017/05/25 23:21:44
Do you really need to #include web_contents.h? I'
Bryan McQuade
2017/05/26 00:39:44
WebContents::CreateParams is an inner class of Web
|
| + |
| namespace android { |
| class TabWebContentsDelegateAndroid; |
| } |
| -namespace content { |
| -class WebContents; |
| -} |
| - |
| namespace chrome { |
| class BrowserTabStripModelDelegate; |
| } |
| @@ -60,7 +59,9 @@ class TabHelpers { |
| // 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); |
| + static void AttachTabHelpers( |
| + content::WebContents* web_contents, |
| + const base::Optional<content::WebContents::CreateParams>& create_params); |
| }; |
| #endif // CHROME_BROWSER_UI_TAB_HELPERS_H_ |