summaryrefslogtreecommitdiffstats
path: root/chrome/browser/notifications
diff options
context:
space:
mode:
authorrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 02:48:12 +0000
committerrafaelw@chromium.org <rafaelw@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-31 02:48:12 +0000
commit583d45c199e5af7a53bb0b15e5ef0e2d6f5ead90 (patch)
tree516825f2a3da3f33527e1e145af4c020c5d13bc2 /chrome/browser/notifications
parent3ad594ae4c38b057303eeb90d7e601a99d38a7c0 (diff)
downloadchromium_src-583d45c199e5af7a53bb0b15e5ef0e2d6f5ead90.zip
chromium_src-583d45c199e5af7a53bb0b15e5ef0e2d6f5ead90.tar.gz
chromium_src-583d45c199e5af7a53bb0b15e5ef0e2d6f5ead90.tar.bz2
Reland r57788 - Expose Extension Bindings to Component Applications
This patch allows component (built-in) extension apps to have extension api bindings. Note that this patch adds browser-side api permission checking for extension requests. This is step two along the path to exposing an extension management api to the gallery (webstore). Original Review: http://codereview.chromium.org/3163044 BUG=27431 TBR=mpcomplete Review URL: http://codereview.chromium.org/3263007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57941 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/notifications')
-rw-r--r--chrome/browser/notifications/balloon_host.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/notifications/balloon_host.cc b/chrome/browser/notifications/balloon_host.cc
index 9e8f379..8e5b676 100644
--- a/chrome/browser/notifications/balloon_host.cc
+++ b/chrome/browser/notifications/balloon_host.cc
@@ -94,7 +94,8 @@ void BalloonHost::CreateNewWindow(
route_id,
balloon_->profile(),
site_instance_.get(),
- DOMUIFactory::GetDOMUIType(balloon_->notification().content_url()),
+ DOMUIFactory::GetDOMUIType(balloon_->profile(),
+ balloon_->notification().content_url()),
this,
window_container_type,
frame_name);