chromium/third_party/blink/common/service_worker/service_worker_scope_match.cc

// Copyright 2020 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/public/common/service_worker/service_worker_scope_match.h"

#include "base/containers/contains.h"
#include "base/strings/string_util.h"

namespace blink {

namespace {

bool PathContainsDisallowedCharacter(const GURL& url) {}

}  // namespace

bool ServiceWorkerScopeOrScriptUrlContainsDisallowedCharacter(
    const GURL& scope,
    const GURL& script_url,
    std::string* error_message) {}

bool ServiceWorkerScopeMatches(const GURL& scope, const GURL& url) {}

ServiceWorkerLongestScopeMatcher::ServiceWorkerLongestScopeMatcher(
    const GURL& url)
    :{}

ServiceWorkerLongestScopeMatcher::~ServiceWorkerLongestScopeMatcher() = default;

bool ServiceWorkerLongestScopeMatcher::MatchLongest(const GURL& scope) {}

}  // namespace blink