#ifndef THIRD_PARTY_BLINK_PUBLIC_COMMON_SERVICE_WORKER_SERVICE_WORKER_SCOPE_MATCH_H_
#define THIRD_PARTY_BLINK_PUBLIC_COMMON_SERVICE_WORKER_SERVICE_WORKER_SCOPE_MATCH_H_
#include "third_party/blink/public/common/common_export.h"
#include "url/gurl.h"
namespace blink {
bool BLINK_COMMON_EXPORT
ServiceWorkerScopeOrScriptUrlContainsDisallowedCharacter(
const GURL& scope,
const GURL& script_url,
std::string* error_message);
bool BLINK_COMMON_EXPORT ServiceWorkerScopeMatches(const GURL& scope,
const GURL& url);
class BLINK_COMMON_EXPORT ServiceWorkerLongestScopeMatcher { … };
}
#endif