#include "components/sessions/content/session_tab_helper.h"
#include "chrome/browser/buildflags.h"
#include "chrome/common/buildflags.h"
#include "extensions/buildflags/buildflags.h"
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/sessions/app_session_service_factory.h"
#include "chrome/browser/sessions/session_service.h"
#include "chrome/browser/sessions/session_service_factory.h"
#include "chrome/browser/sessions/session_service_lookup.h"
#include "content/public/browser/web_contents.h"
#endif
#if BUILDFLAG(ENABLE_EXTENSIONS)
#include "extensions/browser/extension_web_contents_observer.h"
#endif
namespace {
#if BUILDFLAG(ENABLE_SESSION_SERVICE)
sessions::SessionTabHelperDelegate* GetSessionTabHelperDelegate(
content::WebContents* web_contents) { … }
#endif
}
void CreateSessionServiceTabHelper(content::WebContents* contents) { … }