summaryrefslogtreecommitdiffstats
path: root/content/public
diff options
context:
space:
mode:
authormiguelg@chromium.org <miguelg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-24 17:53:15 +0000
committermiguelg@chromium.org <miguelg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-06-24 17:53:15 +0000
commit1f9b5e5f8118f7863297c81603a5d2d2af22084b (patch)
treec1a2fff9ad7ef7e7da0d085188edcdc94ab2b699 /content/public
parentc3be2c8b01f606d12957a7c1d34a08c56c24aef4 (diff)
downloadchromium_src-1f9b5e5f8118f7863297c81603a5d2d2af22084b.zip
chromium_src-1f9b5e5f8118f7863297c81603a5d2d2af22084b.tar.gz
chromium_src-1f9b5e5f8118f7863297c81603a5d2d2af22084b.tar.bz2
Implement a permission check for push.
Extracted common functionality from the midi permission check. A subsequent CL will move the common classes to chrome/browser/content_settings/ and implement the midi permission check in terms of these classes. Note that bubbles are not yet implemented so only infobars work now. Note also that only way to rever the permission decision right now is to clear browser settings. BUG=350378 NOTRY=true (note, the mac release bot has been stuck for over an hour in the compile step, all other release builds and all other mac bots are ok) Review URL: https://codereview.chromium.org/343743004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@279437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/public')
-rw-r--r--content/public/browser/push_messaging_service.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/public/browser/push_messaging_service.h b/content/public/browser/push_messaging_service.h
index 37150db..560d005 100644
--- a/content/public/browser/push_messaging_service.h
+++ b/content/public/browser/push_messaging_service.h
@@ -25,6 +25,8 @@ class CONTENT_EXPORT PushMessagingService {
virtual ~PushMessagingService() {}
virtual void Register(const std::string& app_id,
const std::string& sender_id,
+ int renderer_id,
+ int render_view_id,
const RegisterCallback& callback) = 0;
};