#include "chrome/browser/browsing_data/counters/hosted_apps_counter.h"
#include <algorithm>
#include <memory>
#include <optional>
#include <string>
#include <vector>
#include "base/functional/bind.h"
#include "base/memory/raw_ptr.h"
#include "base/uuid.h"
#include "base/values.h"
#include "chrome/test/base/testing_profile.h"
#include "components/browsing_data/core/browsing_data_utils.h"
#include "components/browsing_data/core/pref_names.h"
#include "components/crx_file/id_util.h"
#include "components/prefs/pref_service.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/common/extension_builder.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
class HostedAppsCounterTest : public testing::Test { … };
TEST_F(HostedAppsCounterTest, Count) { … }
TEST_F(HostedAppsCounterTest, OnlyHostedApps) { … }
TEST_F(HostedAppsCounterTest, Examples) { … }
}