Chromium Code Reviews| Index: chrome/browser/sessions/session_tab_helper.h |
| diff --git a/chrome/browser/sessions/session_tab_helper.h b/chrome/browser/sessions/session_tab_helper.h |
| index d47ec80c956852247d29a35f07f0bc7f0f45bb16..7fb44eb43979ad4fb62b1e8fffb6db0d25ce7ac8 100644 |
| --- a/chrome/browser/sessions/session_tab_helper.h |
| +++ b/chrome/browser/sessions/session_tab_helper.h |
| @@ -43,8 +43,10 @@ class SessionTabHelper : public content::WebContentsObserver, |
| const content::WebContents* tab); |
| // content::WebContentsObserver: |
| +#if defined(ENABLE_EXTENSIONS) |
|
Yoyo Zhou
2014/09/18 20:34:02
nit: you could just ifdef out the implementation,
Lei Zhang
2014/09/18 21:31:56
If I ifdef out the impl, but not the method decl h
Yoyo Zhou
2014/09/18 21:41:13
Not the whole impl. The #ifdef could be inside the
|
| virtual void RenderViewCreated( |
| content::RenderViewHost* render_view_host) OVERRIDE; |
| +#endif |
| virtual void UserAgentOverrideSet(const std::string& user_agent) OVERRIDE; |
| private: |