diff options
author | jstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 00:00:25 +0000 |
---|---|---|
committer | jstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-11-30 00:00:25 +0000 |
commit | 8d888c1f500baf0b51085803e5b7a2d80caf3f00 (patch) | |
tree | 9a9763f054d606fd37a13363c69fa42f2ab4bd3a /chrome/test/live_sync | |
parent | 4376ec3d152063896078cae661f72a9b2345d35b (diff) | |
download | chromium_src-8d888c1f500baf0b51085803e5b7a2d80caf3f00.zip chromium_src-8d888c1f500baf0b51085803e5b7a2d80caf3f00.tar.gz chromium_src-8d888c1f500baf0b51085803e5b7a2d80caf3f00.tar.bz2 |
Track permissions granted to extensions in prefs
Adds a section to the extension preferences to store the recognized permissions that the user has granted the extension.
Ignores unknown permissions when installing extensions.
Disables extension and prompts user to re-enable when unknown permissions become recognized (e.g., through browser upgrade).
Allows extensions to remove a permission in one version, then add them back in the next without prompting the user.
BUG=42742
TEST=ExtensionsServiceTest, ExtensionPrefsGrantedPermissions, ExtensionTest
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67500
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=67544
Review URL: http://codereview.chromium.org/4687005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@67616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/live_sync')
-rw-r--r-- | chrome/test/live_sync/live_extensions_sync_test_base.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/live_sync/live_extensions_sync_test_base.cc b/chrome/test/live_sync/live_extensions_sync_test_base.cc index 1eb040e..ce4396e 100644 --- a/chrome/test/live_sync/live_extensions_sync_test_base.cc +++ b/chrome/test/live_sync/live_extensions_sync_test_base.cc @@ -103,7 +103,7 @@ void LiveExtensionsSyncTestBase::InstallExtension( Profile* profile, scoped_refptr<Extension> extension) { CHECK(profile); CHECK(extension.get()); - profile->GetExtensionsService()->OnExtensionInstalled(extension, true); + profile->GetExtensionsService()->OnExtensionInstalled(extension); } void LiveExtensionsSyncTestBase::InstallAllPendingExtensions( |