chromium/components/content_settings/core/test/content_settings_test_utils.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/test/content_settings_test_utils.h"

#include "base/time/default_clock.h"
#include "components/content_settings/core/browser/content_settings_observable_provider.h"
#include "components/content_settings/core/browser/host_content_settings_map.h"
#include "components/content_settings/core/common/content_settings_metadata.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/content_settings_utils.h"

namespace content_settings {

// static
base::Value TestUtils::GetContentSettingValue(const ProviderInterface* provider,
                                              const GURL& primary_url,
                                              const GURL& secondary_url,
                                              ContentSettingsType content_type,
                                              bool include_incognito,
                                              RuleMetaData* metadata) {}

// static
ContentSetting TestUtils::GetContentSetting(const ProviderInterface* provider,
                                            const GURL& primary_url,
                                            const GURL& secondary_url,
                                            ContentSettingsType content_type,
                                            bool include_incognito,
                                            RuleMetaData* metadata) {}

// static
base::Time TestUtils::GetLastModified(
    const content_settings::ProviderInterface* provider,
    const GURL& primary_url,
    const GURL& secondary_url,
    ContentSettingsType type) {}

// static
void TestUtils::OverrideProvider(
    HostContentSettingsMap* map,
    std::unique_ptr<content_settings::ObservableProvider> provider,
    content_settings::ProviderType type) {}

}  // namespace content_settings