Index: chrome/browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc |
diff --git a/chrome/browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc b/chrome/browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc |
index ce9295c3c68b57997bd87cc2765a44072eb56a03..e64a87e4932425286facf78839c3346f68b2f34b 100644 |
--- a/chrome/browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc |
+++ b/chrome/browser/ui/webui/options/pepper_flash_content_settings_utils_unittest.cc |
@@ -5,6 +5,7 @@ |
#include "chrome/browser/ui/webui/options/pepper_flash_content_settings_utils.h" |
#include "base/basictypes.h" |
+#include "chrome/common/content_settings_component.h" |
#include "testing/gtest/include/gtest/gtest.h" |
using options::MediaException; |
@@ -22,6 +23,7 @@ MediaExceptions ConvertAndSort(const MediaException* items, size_t count) { |
} // namespace |
TEST(PepperFlashContentSettingsUtilsTest, SortMediaExceptions) { |
+ InitContentSettingsComponent(); |
MediaException entry_1(ContentSettingsPattern::FromString("www.google.com"), |
CONTENT_SETTING_ALLOW, CONTENT_SETTING_ASK); |
MediaException entry_2(ContentSettingsPattern::FromString("www.youtube.com"), |
@@ -62,6 +64,7 @@ TEST(PepperFlashContentSettingsUtilsTest, SortMediaExceptions) { |
} |
TEST(PepperFlashContentSettingsUtilsTest, AreMediaExceptionsEqual) { |
+ InitContentSettingsComponent(); |
{ |
// Empty lists are equal. |
// Default settings are not compared directly, so it is possible to return |