Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(368)

Unified Diff: components/content_settings/core/browser/content_settings_rule.cc

Issue 2812113004: Write last_modified date to Content Settings in the PrefProvider (Closed)
Patch Set: Fix Android compilation Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/content_settings/core/browser/content_settings_rule.cc
diff --git a/components/content_settings/core/browser/content_settings_rule.cc b/components/content_settings/core/browser/content_settings_rule.cc
index 13d6a0aeed951b2e9fbfbd97421fa25b67dfd21f..1731cd36aa9738db82ca43c352e93a4c99d49f02 100644
--- a/components/content_settings/core/browser/content_settings_rule.cc
+++ b/components/content_settings/core/browser/content_settings_rule.cc
@@ -12,12 +12,13 @@ namespace content_settings {
Rule::Rule() {}
-Rule::Rule(
- const ContentSettingsPattern& primary_pattern,
- const ContentSettingsPattern& secondary_pattern,
- base::Value* value)
+Rule::Rule(const ContentSettingsPattern& primary_pattern,
+ const ContentSettingsPattern& secondary_pattern,
+ base::Time last_modified,
+ base::Value* value)
: primary_pattern(primary_pattern),
secondary_pattern(secondary_pattern),
+ last_modified(last_modified),
value(value) {
DCHECK(value);
}

Powered by Google App Engine
This is Rietveld 408576698