Index: components/content_settings/core/common/content_settings_pattern.h |
diff --git a/components/content_settings/core/common/content_settings_pattern.h b/components/content_settings/core/common/content_settings_pattern.h |
index 7d6fc8d00dd04d3e700a806eccc368907dd6f21e..fe292d53d47b017d8f5e4429b6177965c040ea52 100644 |
--- a/components/content_settings/core/common/content_settings_pattern.h |
+++ b/components/content_settings/core/common/content_settings_pattern.h |
@@ -7,6 +7,7 @@ |
#ifndef COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_ |
#define COMPONENTS_CONTENT_SETTINGS_CORE_COMMON_CONTENT_SETTINGS_PATTERN_H_ |
+#include <memory> |
#include <string> |
#include "base/gtest_prod_util.h" |
@@ -136,7 +137,7 @@ class ContentSettingsPattern { |
virtual ContentSettingsPattern Build() = 0; |
}; |
- static BuilderInterface* CreateBuilder(bool use_legacy_validate); |
+ static std::unique_ptr<BuilderInterface> CreateBuilder(); |
// The version of the pattern format implemented. |
static const int kContentSettingsPatternVersion; |