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

Unified Diff: chrome/browser/extensions/extension_special_storage_policy.cc

Issue 13994010: Fix ExtensionSpecialStoragePolicy.IsInstalledApp (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_special_storage_policy_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_special_storage_policy.cc
diff --git a/chrome/browser/extensions/extension_special_storage_policy.cc b/chrome/browser/extensions/extension_special_storage_policy.cc
index 4017d034bbb258ade245a6c40da6b39839deebca..6afd242a921adee43565f099299c56a28716166b 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.cc
+++ b/chrome/browser/extensions/extension_special_storage_policy.cc
@@ -91,7 +91,8 @@ void ExtensionSpecialStoragePolicy::GrantRightsForExtension(
!extension->HasAPIPermission(
APIPermission::kUnlimitedStorage) &&
!extension->HasAPIPermission(
- APIPermission::kFileBrowserHandler)) {
+ APIPermission::kFileBrowserHandler) &&
+ !extension->is_app()) {
asargent_no_longer_on_chrome 2013/04/15 18:43:11 nit: it would be good to keep the order of tests a
kinuko 2013/04/16 07:20:13 Done.
return;
}
{
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_special_storage_policy_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698