#include "chrome/browser/web_applications/tabbed_mode_scope_matcher.h"
#include <utility>
#include "third_party/liburlpattern/options.h"
#include "third_party/liburlpattern/pattern.h"
namespace {
std::optional<RE2::Set> MakeScopeSet(
const std::vector<liburlpattern::Part>& part_list) { … }
bool MatchScopePart(std::optional<RE2::Set>& scope_set,
const std::string& part) { … }
}
namespace web_app {
TabbedModeScopeMatcher::TabbedModeScopeMatcher(
const blink::SafeUrlPattern& pattern)
: … { … }
TabbedModeScopeMatcher::~TabbedModeScopeMatcher() = default;
TabbedModeScopeMatcher::TabbedModeScopeMatcher(TabbedModeScopeMatcher&& other) =
default;
TabbedModeScopeMatcher& TabbedModeScopeMatcher::operator=(
TabbedModeScopeMatcher&& other) = default;
bool TabbedModeScopeMatcher::Match(const GURL& url) { … }
}