#include <algorithm>
#include <memory>
#include <string>
#include <vector>
#include "base/files/file_path.h"
#include "base/files/file_util.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "base/test/scoped_mock_clock_override.h"
#include "chrome/browser/browsing_data/counters/site_data_counting_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_profile.h"
#include "components/services/storage/public/mojom/local_storage_control.mojom.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
#include "content/public/test/browser_task_environment.h"
#include "mojo/public/cpp/bindings/remote.h"
#include "net/cookies/cookie_access_result.h"
#include "services/network/public/mojom/cookie_manager.mojom.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/dom_storage/storage_area.mojom.h"
class SiteDataCountingHelperTest : public testing::Test { … };
TEST_F(SiteDataCountingHelperTest, CheckEmptyResult) { … }
TEST_F(SiteDataCountingHelperTest, CountCookies) { … }
TEST_F(SiteDataCountingHelperTest, LocalStorage) { … }
TEST_F(SiteDataCountingHelperTest, CookiesAndLocalStorage) { … }
TEST_F(SiteDataCountingHelperTest, SameHostDifferentScheme) { … }