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

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: 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..d0ee7480fb9c17e01ae44c9016dfb3636a766a95 100644
--- a/chrome/browser/permissions/permission_context_base.h
+++ b/chrome/browser/permissions/permission_context_base.h
@@ -129,13 +129,13 @@ class PermissionContextBase : public KeyedService {
const BrowserPermissionCallback& callback);
// Called when permission is granted without interactively asking the user.
- void PermissionDecided(const PermissionRequestID& id,
- const GURL& requesting_origin,
- const GURL& embedding_origin,
- bool user_gesture,
- const BrowserPermissionCallback& callback,
- bool persist,
- ContentSetting content_setting);
+ virtual void PermissionDecided(const PermissionRequestID& id,
+ const GURL& requesting_origin,
+ const GURL& embedding_origin,
+ bool user_gesture,
+ const BrowserPermissionCallback& callback,
+ bool persist,
+ ContentSetting content_setting);
raymes 2017/03/15 04:28:25 Thinking more about why this doesn't feel great to
benwells 2017/03/15 23:10:49 Done.
virtual void NotifyPermissionSet(const PermissionRequestID& id,
const GURL& requesting_origin,

Powered by Google App Engine
This is Rietveld 408576698