chromium/extensions/browser/api/content_settings/content_settings_helpers.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 "extensions/browser/api/content_settings/content_settings_helpers.h"

#include <memory>

#include "base/notreached.h"
#include "components/content_settings/core/browser/website_settings_info.h"
#include "components/content_settings/core/browser/website_settings_registry.h"
#include "content/public/common/url_constants.h"
#include "extensions/common/url_pattern.h"

namespace {

const char kNoPathWildcardsError[] =;
const char kNoPathsError[] =;
const char kInvalidPatternError[] =;

// TODO(bauerb): Move this someplace where it can be reused.
std::string GetDefaultPort(const std::string& scheme) {}

}  // namespace

namespace extensions {
namespace content_settings_helpers {

ContentSettingsPattern ParseExtensionPattern(const std::string& pattern_str,
                                             std::string* error) {}

ContentSettingsType StringToContentSettingsType(
    const std::string& content_type) {}

std::string ContentSettingsTypeToString(ContentSettingsType type) {}

}  // namespace content_settings_helpers
}  // namespace extensions