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

Unified Diff: chrome/browser/storage/durable_storage_permission_context.cc

Issue 1411653004: Remove last usage functions from HostContentSettingsMap Base URL: https://chromium.googlesource.com/chromium/src.git@simplify-host-content-settings
Patch Set: Created 5 years, 1 month 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: chrome/browser/storage/durable_storage_permission_context.cc
diff --git a/chrome/browser/storage/durable_storage_permission_context.cc b/chrome/browser/storage/durable_storage_permission_context.cc
index 4e520bb320accda943fa511a21696a37062fb87e..d1e15e336e539dff5c2414dcc39eaca70cdc19a7 100644
--- a/chrome/browser/storage/durable_storage_permission_context.cc
+++ b/chrome/browser/storage/durable_storage_permission_context.cc
@@ -61,7 +61,7 @@ void DurableStoragePermissionContext::DecidePermission(
ContentSetting content_setting =
HostContentSettingsMapFactory::GetForProfile(profile())
- ->GetContentSettingAndMaybeUpdateLastUsage(
+ ->GetContentSetting(
requesting_origin, embedding_origin,
CONTENT_SETTINGS_TYPE_DURABLE_STORAGE, std::string());

Powered by Google App Engine
This is Rietveld 408576698