| Index: components/content_settings/core/test/content_settings_test_utils.h
|
| diff --git a/components/content_settings/core/test/content_settings_test_utils.h b/components/content_settings/core/test/content_settings_test_utils.h
|
| index 2374df07f87c866d2b22235c220146130d3d3c54..165001e740d58c7fe6509c0685098e7bc384215b 100644
|
| --- a/components/content_settings/core/test/content_settings_test_utils.h
|
| +++ b/components/content_settings/core/test/content_settings_test_utils.h
|
| @@ -5,11 +5,15 @@
|
| #ifndef COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_
|
| #define COMPONENTS_CONTENT_SETTINGS_CORE_TEST_CONTENT_SETTINGS_TEST_UTILS_H_
|
|
|
| +#include <string>
|
| +
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/values.h"
|
| #include "components/content_settings/core/browser/content_settings_utils.h"
|
|
|
| +class HostContentSettingsMap;
|
| +
|
| namespace content_settings {
|
|
|
| class TestUtils {
|
| @@ -45,6 +49,12 @@ class TestUtils {
|
| ContentSettingsPattern* primary_pattern,
|
| ContentSettingsPattern* secondary_pattern);
|
|
|
| + // Accesses the PrefProvider in |map| to add a pattern.
|
| + static bool AddPrefException(const std::string& pattern_string,
|
| + ContentSettingsType content_type,
|
| + ContentSetting setting,
|
| + HostContentSettingsMap* settings_map);
|
| +
|
| private:
|
| DISALLOW_IMPLICIT_CONSTRUCTORS(TestUtils);
|
| };
|
|
|