chromium/components/content_settings/core/common/content_settings_pattern_parser.cc

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

#include "components/content_settings/core/common/content_settings_pattern_parser.h"

#include <stddef.h>

#include <string_view>

#include "base/logging.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "url/gurl.h"
#include "url/url_canon.h"
#include "url/url_constants.h"

namespace {

const char kDomainWildcard[] =;
const size_t kDomainWildcardLength =;
const char kHostWildcard[] =;
const char kPathWildcard[] =;
const char kPortWildcard[] =;
const char kSchemeWildcard[] =;
const char kUrlPathSeparator =;
const char kUrlPortSeparator =;
const char kUrlPortAndPathSeparator[] =;

}  // namespace

namespace content_settings {

void PatternParser::Parse(std::string_view pattern_spec,
                          ContentSettingsPattern::BuilderInterface* builder) {}

// static
std::string PatternParser::ToString(
    const ContentSettingsPattern::PatternParts& parts) {}

GURL PatternParser::ToRepresentativeUrl(
    const ContentSettingsPattern::PatternParts& parts) {}

}  // namespace content_settings