// Copyright 2021 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_BROWSER_SESSIONS_SESSION_DATA_SERVICE_H_ #define CHROME_BROWSER_SESSIONS_SESSION_DATA_SERVICE_H_ #include <memory> #include "base/memory/raw_ptr.h" #include "chrome/browser/ui/browser_list_observer.h" #include "components/keyed_service/core/keyed_service.h" class Profile; class SessionDataDeleter; namespace user_prefs { class PrefRegistrySyncable; } // SessionDataService is responsible for deleting SessionOnly cookies and // site data when the browser or all windows of a profile are closed. class SessionDataService : public BrowserListObserver, public KeyedService { … }; #endif // CHROME_BROWSER_SESSIONS_SESSION_DATA_SERVICE_H_