#include "components/shared_highlighting/core/common/disabled_sites.h"
#include <string_view>
#include <unordered_set>
#include "base/containers/fixed_flat_map.h"
#include "base/feature_list.h"
#include "base/strings/string_util.h"
#include "components/shared_highlighting/core/common/shared_highlighting_features.h"
#include "third_party/re2/src/re2/re2.h"
namespace shared_highlighting {
namespace {
bool IsAmpGenerationEnabled() { … }
}
bool ShouldOfferLinkToText(const GURL& url) { … }
bool SupportsLinkGenerationInIframe(GURL main_frame_url) { … }
}