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

Issue 10837060: Don't show host permission warnings for platform apps. (Closed)

Created:
8 years, 4 months ago by Mihai Parparita -not on Chrome
Modified:
8 years, 4 months ago
CC:
chromium-reviews, mihaip-chromium-reviews_chromium.org
Visibility:
Public.

Description

Don't show host permission warnings for platform apps. Since platform apps always use isolated storage, they can't (silently) access user data on other domains, so there's no need to prompt. BUG=130680 R=aa@chromium.org TBR=phajdan.jr@chromium.org,atwilson@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149688

Patch Set 1 #

Patch Set 2 : Add EXPECT_TRUE #

Total comments: 2

Patch Set 3 : Extension::Type #

Patch Set 4 : Fix CrOS build #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+114 lines, -40 lines) Patch
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/background/background_application_list_model.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/background/background_application_list_model_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/background/background_mode_manager.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/extensions/file_handler_util.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/api/permissions/permissions_api.cc View 1 2 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/extensions/bundle_installer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_browsertest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_install_prompt.cc View 1 2 2 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_management_api.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/installed_loader.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/unpacked_installer.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 4 3 chunks +7 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/permissions/permission_set.h View 1 2 3 4 4 chunks +21 lines, -10 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set.cc View 1 2 3 chunks +17 lines, -12 lines 0 comments Download
M chrome/common/extensions/permissions/permission_set_unittest.cc View 1 2 6 chunks +21 lines, -8 lines 0 comments Download
A chrome/test/data/extensions/permissions/platform_app_all_urls.json View 1 chunk +11 lines, -0 lines 0 comments Download
A chrome/test/data/extensions/permissions/platform_app_hosts.json View 1 chunk +11 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Mihai Parparita -not on Chrome
8 years, 4 months ago (2012-08-01 22:47:18 UTC) #1
Aaron Boodman
Seems reasonable. https://chromiumcodereview.appspot.com/10837060/diff/10/chrome/common/extensions/permissions/permission_set.cc File chrome/common/extensions/permissions/permission_set.cc (right): https://chromiumcodereview.appspot.com/10837060/diff/10/chrome/common/extensions/permissions/permission_set.cc#newcode278 chrome/common/extensions/permissions/permission_set.cc:278: if (!extension->is_platform_app()) { Consider passing in only ...
8 years, 4 months ago (2012-08-01 23:13:05 UTC) #2
Aaron Boodman
LGTM
8 years, 4 months ago (2012-08-01 23:13:13 UTC) #3
Mihai Parparita -not on Chrome
I'll TBR the other OWNERS. https://chromiumcodereview.appspot.com/10837060/diff/10/chrome/common/extensions/permissions/permission_set.cc File chrome/common/extensions/permissions/permission_set.cc (right): https://chromiumcodereview.appspot.com/10837060/diff/10/chrome/common/extensions/permissions/permission_set.cc#newcode278 chrome/common/extensions/permissions/permission_set.cc:278: if (!extension->is_platform_app()) { On ...
8 years, 4 months ago (2012-08-02 00:33:44 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mihaip@chromium.org/10837060/5002
8 years, 4 months ago (2012-08-02 00:34:37 UTC) #5
commit-bot: I haz the power
Try job failure for 10837060-5002 (retry) on linux_chromeos for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-02 01:09:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mihaip@chromium.org/10837060/10002
8 years, 4 months ago (2012-08-02 18:14:43 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/common/extensions/extension_unittest.cc: While running patch -p1 --forward --force; patching file chrome/common/extensions/extension_unittest.cc ...
8 years, 4 months ago (2012-08-02 18:15:16 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mihaip@chromium.org/10837060/1033
8 years, 4 months ago (2012-08-02 18:28:03 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-08-02 20:17:12 UTC) #10
Change committed as 149688

Powered by Google App Engine
This is Rietveld 408576698