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

Issue 8493017: Cleanup extension permissions module. (Closed)

Created:
9 years, 1 month ago by jstritar
Modified:
8 years, 11 months ago
Reviewers:
Aaron Boodman, sky
CC:
chromium-reviews, Avi (use Gerrit), jennb, creis+watch_chromium.org, prasadt, Erik does not do reviews, Paweł Hajdan Jr., mihaip+watch_chromium.org, dcheng, Dmitry Titov, ajwong+watch_chromium.org, jianli, rdsmith+dwatch_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Cleanup extension permissions module. - renames ExtensionPermissionsManager to extensions::PermissionsUpdater - PermissionsUpdaters are now created on demand (vs one per ExtensionService) - move some includes into the *.cc files - moves a couple common methods to extension_permissions_api_helpers.cc BUG=none TEST=existing Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=116673

Patch Set 1 #

Total comments: 1

Patch Set 2 : . #

Patch Set 3 : . #

Patch Set 4 : . #

Total comments: 4

Patch Set 5 : feedback #

Patch Set 6 : . #

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 6

Patch Set 9 : . #

Patch Set 10 : missed a couple files #

Patch Set 11 : . #

Patch Set 12 : fix browser test compile #

Patch Set 13 : . #

Patch Set 14 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+833 lines, -335 lines) Patch
M chrome/browser/automation/automation_util.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/background/background_application_list_model_unittest.cc View 1 2 3 4 5 6 7 8 4 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/debugger/devtools_window.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/download/chrome_download_manager_delegate.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/app_process_apitest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/crx_installer.cc View 1 2 3 4 5 6 7 8 4 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/extensions/extension_event_router.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_function_dispatcher.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_navigation_observer.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_permissions_api.h View 1 2 3 4 5 6 7 8 3 chunks +1 line, -44 lines 0 comments Download
M chrome/browser/extensions/extension_permissions_api.cc View 1 2 3 4 5 6 7 8 10 chunks +20 lines, -224 lines 0 comments Download
A chrome/browser/extensions/extension_permissions_api_helpers.h View 1 2 3 4 5 6 7 8 1 chunk +36 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_permissions_api_helpers.cc View 1 2 3 4 5 6 7 8 1 chunk +113 lines, -0 lines 0 comments Download
A chrome/browser/extensions/extension_permissions_api_helpers_unittest.cc View 1 2 3 4 5 6 7 8 9 1 chunk +157 lines, -0 lines 0 comments Download
M chrome/browser/extensions/extension_process_manager.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.h View 1 2 3 4 5 6 7 8 5 chunks +1 line, -17 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +5 lines, -22 lines 0 comments Download
M chrome/browser/extensions/extension_tab_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_webrequest_api.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/lazy_background_page_apitest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/permissions_apitest.cc View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -1 line 0 comments Download
A chrome/browser/extensions/permissions_updater.h View 1 2 3 4 5 6 7 8 1 chunk +77 lines, -0 lines 0 comments Download
A chrome/browser/extensions/permissions_updater.cc View 1 2 3 4 5 6 7 8 1 chunk +155 lines, -0 lines 0 comments Download
A chrome/browser/extensions/permissions_updater_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 1 chunk +210 lines, -0 lines 0 comments Download
chrome/browser/tab_contents/render_view_host_delegate_helper.cc View 1 2 3 4 5 6 7 8 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/browser_navigator.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/intents/web_intent_picker_controller.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/base_panel_browser_test.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/panels/panel_app_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view_browsertest.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/options/extension_settings_handler.cc View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 3 4 5 6 7 8 9 10 11 12 13 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
jstritar
http://codereview.chromium.org/8493017/diff/1/chrome/browser/download/chrome_download_manager_delegate.cc File chrome/browser/download/chrome_download_manager_delegate.cc (right): http://codereview.chromium.org/8493017/diff/1/chrome/browser/download/chrome_download_manager_delegate.cc#newcode31 chrome/browser/download/chrome_download_manager_delegate.cc:31: #include "chrome/common/chrome_notification_types.h" I guess these were getting included from ...
9 years, 1 month ago (2011-11-07 20:47:42 UTC) #1
jstritar
9 years, 1 month ago (2011-11-11 20:03:33 UTC) #2
Aaron Boodman
Whenever you find yourself having a dependency on ExtensionService, you should stop and think if ...
9 years, 1 month ago (2011-11-14 19:26:05 UTC) #3
jstritar
I took care of your comments and got rid of the ExtensionService dependency on the ...
9 years ago (2011-12-12 22:28:03 UTC) #4
Aaron Boodman
Sorry for lagging on this for long. Looks cool. http://codereview.chromium.org/8493017/diff/12003/chrome/browser/extensions/extension_permissions_api_helpers.h File chrome/browser/extensions/extension_permissions_api_helpers.h (right): http://codereview.chromium.org/8493017/diff/12003/chrome/browser/extensions/extension_permissions_api_helpers.h#newcode18 chrome/browser/extensions/extension_permissions_api_helpers.h:18: ...
9 years ago (2011-12-14 01:00:14 UTC) #5
jstritar
Sorry for lagging on updating this as well. Thanks for reviewing! http://codereview.chromium.org/8493017/diff/12003/chrome/browser/extensions/extension_permissions_api_helpers.h File chrome/browser/extensions/extension_permissions_api_helpers.h (right): ...
8 years, 11 months ago (2012-01-04 21:53:32 UTC) #6
Aaron Boodman
lgtm
8 years, 11 months ago (2012-01-06 02:51:09 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jstritar@chromium.org/8493017/32002
8 years, 11 months ago (2012-01-06 15:06:30 UTC) #8
commit-bot: I haz the power
Can't process patch for file chrome/browser/tab_contents/render_view_host_delegate_helper.cc. File's status is None, patchset upload is incomplete.
8 years, 11 months ago (2012-01-06 15:06:35 UTC) #9
jstritar
+sky for chrome/browser/ui OWNERS check
8 years, 11 months ago (2012-01-06 15:48:14 UTC) #10
sky
8 years, 11 months ago (2012-01-06 16:41:20 UTC) #11
chrome/browser/ui LGTM

Powered by Google App Engine
This is Rietveld 408576698