Index: chrome/common/content_settings.h |
diff --git a/chrome/common/content_settings.h b/chrome/common/content_settings.h |
index 4731263f7d15d5a891598d56bac153374421f53d..7378f689b20ad74651224635d09255433d4b0294 100644 |
--- a/chrome/common/content_settings.h |
+++ b/chrome/common/content_settings.h |
@@ -6,6 +6,11 @@ |
#define CHROME_COMMON_CONTENT_SETTINGS_H_ |
#pragma once |
+#include <string> |
+#include <vector> |
+ |
+#include "base/tuple.h" |
+#include "chrome/common/content_settings_pattern.h" |
#include "chrome/common/content_settings_types.h" |
// Different settings that can be assigned for a particular content type. We |
@@ -38,4 +43,12 @@ struct ContentSettings { |
ContentSetting settings[CONTENT_SETTINGS_NUM_TYPES]; |
}; |
+// TODO(markusheintz): I sold my soul to the devil on order to add this tuple. |
+// I really want my soul back, so I really will change this ASAP. |
+typedef Tuple4<ContentSettingsPattern, |
+ ContentSettingsPattern, |
+ ContentSetting, |
+ std::string> ContentSettingPatternSourceTuple; |
+typedef std::vector<ContentSettingPatternSourceTuple> ContentSettingsForOneType; |
+ |
#endif // CHROME_COMMON_CONTENT_SETTINGS_H_ |