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

Unified Diff: chrome/browser/permissions/permission_context_base.h

Issue 2742373003: Limit the amount the Location Settings Dialog will be shown to users. (Closed)
Patch Set: Feedback Created 3 years, 9 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: chrome/browser/permissions/permission_context_base.h
diff --git a/chrome/browser/permissions/permission_context_base.h b/chrome/browser/permissions/permission_context_base.h
index 066f7a5a8409c80f3b680eca98c619af20cc6e4b..72ef40eee34a40502376ba08970940774901d7b8 100644
--- a/chrome/browser/permissions/permission_context_base.h
+++ b/chrome/browser/permissions/permission_context_base.h
@@ -194,6 +194,14 @@ class PermissionContextBase : public KeyedService {
const BrowserPermissionCallback& callback,
bool permission_blocked);
+ // Called when the user has made a permission decision. This is a hook for
+ // descendent classes to do appropriate things they might need to do when this
+ // happens.
+ virtual void UserMadePermissionDecision(const PermissionRequestID& id,
+ const GURL& requesting_origin,
+ const GURL& embedding_origin,
+ ContentSetting content_setting);
+
Profile* profile_;
const ContentSettingsType content_settings_type_;
#if defined(OS_ANDROID)

Powered by Google App Engine
This is Rietveld 408576698