From 0ce3f598543d7023bbd72397edf57c25a169e80d Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Thu, 28 Jan 2010 23:04:27 +0000 Subject: Enable apps to request the HTML5 notification permission. Note: the big change to chrome_url_request_context.h was mostly to swap the order of ChromeURLRequestContext and ChromeURLRequestContextGetter so that the latter could reference an inner struct of the former. BUG=32361 Review URL: http://codereview.chromium.org/545149 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37456 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extensions_service.cc | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'chrome/browser/extensions') diff --git a/chrome/browser/extensions/extensions_service.cc b/chrome/browser/extensions/extensions_service.cc index a62799f..08b9707 100644 --- a/chrome/browser/extensions/extensions_service.cc +++ b/chrome/browser/extensions/extensions_service.cc @@ -455,8 +455,11 @@ void ExtensionsService::NotifyExtensionLoaded(Extension* extension) { context_getter, &ChromeURLRequestContextGetter::OnNewExtensions, extension->id(), - extension->path(), - extension->default_locale())); + new ChromeURLRequestContext::ExtensionInfo( + extension->path(), + extension->default_locale(), + extension->app_origins(), + extension->api_permissions()))); } } -- cgit v1.1