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

Unified Diff: chrome/browser/permissions/permission_context_base.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/permissions/permission_context_base.cc
diff --git a/chrome/browser/permissions/permission_context_base.cc b/chrome/browser/permissions/permission_context_base.cc
index 9367f916e36b9187b62e1ca90669e045e7e1ea1f..d543e46560f9d3c0948993bb47580106c58e27f7 100644
--- a/chrome/browser/permissions/permission_context_base.cc
+++ b/chrome/browser/permissions/permission_context_base.cc
@@ -153,7 +153,7 @@ void PermissionContextBase::DecidePermission(
ContentSetting content_setting =
HostContentSettingsMapFactory::GetForProfile(profile_)
- ->GetContentSettingAndMaybeUpdateLastUsage(
+ ->GetContentSetting(
requesting_origin, embedding_origin, permission_type_,
std::string());

Powered by Google App Engine
This is Rietveld 408576698