#include "components/content_settings/core/browser/content_settings_origin_value_map.h"
#include <memory>
#include "base/time/time.h"
#include "base/values.h"
#include "components/content_settings/core/browser/content_settings_rule.h"
#include "components/content_settings/core/browser/content_settings_utils.h"
#include "components/content_settings/core/common/content_settings_constraints.h"
#include "components/content_settings/core/common/content_settings_metadata.h"
#include "components/content_settings/core/common/content_settings_pattern.h"
#include "components/content_settings/core/common/content_settings_types.h"
#include "components/content_settings/core/common/content_settings_utils.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
std::vector<ContentSettingsPattern> ToPrimaryPatternVector(
content_settings::RuleIterator& iterator) { … }
}
class OriginValueMapTest : public testing::Test { … };
TEST_F(OriginValueMapTest, SetGetValue) { … }
TEST_F(OriginValueMapTest, GetRule) { … }
TEST_F(OriginValueMapTest, GetRuleIterator) { … }
TEST_F(OriginValueMapTest, SetValueReturnsChanges) { … }
TEST_F(OriginValueMapTest, SetDeleteValue) { … }
TEST_F(OriginValueMapTest, Clear) { … }
TEST_F(OriginValueMapTest, ListEntryPrecedences) { … }
TEST_F(OriginValueMapTest, IterateEmpty) { … }
TEST_F(OriginValueMapTest, IterateNonempty) { … }
TEST_F(OriginValueMapTest, UpdateLastModified) { … }