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

Issue 575113002: Move Webstore URL concepts to //extensions (Closed)

Created:
6 years, 3 months ago by Ken Rockot(use gerrit already)
Modified:
6 years, 3 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, extensions-reviews_chromium.org, wjmaclean
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Move Webstore URL concepts to //extensions and out of Chrome-specific "constants." These URLs can be overridden by extensions embedders now and are no longer incorrectly classified as "constants." BUG=398671 TBR=xiyuan@chromium.org,sky@chromium.org for various files with header updates Committed: https://crrev.com/9065985da2ce2a4f73150ac5eabab29c5d67505d Cr-Commit-Position: refs/heads/master@{#295523}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Header changes only. #

Patch Set 3 : Dedupe constants, rename GetExtensionGalleryURL, cleanup comments. #

Total comments: 1

Patch Set 4 : fix constants #

Patch Set 5 : #

Patch Set 6 : Support a lack of ExtensionsClient #

Patch Set 7 : ENABLE_EXTENSIONS guard in core chrome code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+257 lines, -153 lines) Patch
M chrome/browser/apps/ephemeral_app_throttle.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/app_mode/kiosk_app_data.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/customization_document.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/device_local_account_external_policy_loader_unittest.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/external_cache.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/extensions/external_cache_unittest.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/api/web_request/web_request_permissions.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_assets_manager_chromeos.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/extension_system_impl.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/external_component_loader.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/installed_loader.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/shared_module_service.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/updater/extension_downloader.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/updater/extension_updater_unittest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/extensions/webstore_data_fetcher.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/webstore_installer.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/extensions/webstore_standalone_installer.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/prerender/prerender_browsertest.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc View 1 2 3 4 5 6 4 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/search_webstore_result.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_provider.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/app_list/search/webstore/webstore_result.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_action_context_menu_controller.mm View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_install_view_controller.mm View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_install_dialog_view.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/chromeos/kiosk_apps_handler.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_settings_handler.cc View 1 2 3 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/ui/webui/ntp/ntp_resource_cache.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/options/font_settings_handler.cc View 1 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/chrome_extensions_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/common/extensions/chrome_extensions_client.cc View 1 2 4 chunks +39 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension_constants.h View 1 chunk +2 lines, -45 lines 0 comments Download
M chrome/common/extensions/extension_constants.cc View 1 chunk +3 lines, -77 lines 0 comments Download
M chrome/common/extensions/manifest_url_handler.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/extensions/webstore_bindings.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M extensions/common/extension_urls.h View 1 2 3 2 chunks +56 lines, -0 lines 0 comments Download
M extensions/common/extension_urls.cc View 1 2 3 4 5 2 chunks +67 lines, -0 lines 0 comments Download
M extensions/common/extensions_client.h View 1 chunk +10 lines, -0 lines 0 comments Download
M extensions/shell/common/shell_extensions_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/shell/common/shell_extensions_client.cc View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download
M extensions/test/test_extensions_client.h View 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/test/test_extensions_client.cc View 1 2 3 4 2 chunks +13 lines, -0 lines 0 comments Download

Messages

Total messages: 38 (17 generated)
Ken Rockot(use gerrit already)
Antony could you please review this? Please don't be intimidated by the CL size! Patch ...
6 years, 3 months ago (2014-09-17 20:23:27 UTC) #4
asargent_no_longer_on_chrome
It seems like kind of a shame that we still have the constant string "https://chrome.google.com/webstore" ...
6 years, 3 months ago (2014-09-17 21:41:32 UTC) #5
Ken Rockot(use gerrit already)
Thanks. Added constants to extension_urls.h/cc instead of duplicating in many places. Other comments addressed inline. ...
6 years, 3 months ago (2014-09-17 22:04:30 UTC) #6
asargent_no_longer_on_chrome
lgtm https://codereview.chromium.org/575113002/diff/80001/extensions/common/extension_urls.h File extensions/common/extension_urls.h (right): https://codereview.chromium.org/575113002/diff/80001/extensions/common/extension_urls.h#newcode37 extensions/common/extension_urls.h:37: "https://clients2.google.com/service/update2/crx"; as mentioned in person, make sure to ...
6 years, 3 months ago (2014-09-17 22:24:37 UTC) #7
Ken Rockot(use gerrit already)
On 2014/09/17 22:24:37, asargent wrote: > lgtm > > https://codereview.chromium.org/575113002/diff/80001/extensions/common/extension_urls.h > File extensions/common/extension_urls.h (right): > ...
6 years, 3 months ago (2014-09-17 22:28:14 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/575113002/100001
6 years, 3 months ago (2014-09-17 22:31:49 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/15380) linux_chromium_gn_rel on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_gn_rel/builds/16594) linux_chromium_rel_swarming ...
6 years, 3 months ago (2014-09-17 22:48:16 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/575113002/120001
6 years, 3 months ago (2014-09-17 22:52:27 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/9896)
6 years, 3 months ago (2014-09-18 01:00:24 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/575113002/120001
6 years, 3 months ago (2014-09-18 01:04:25 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/9937)
6 years, 3 months ago (2014-09-18 03:11:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/575113002/120001
6 years, 3 months ago (2014-09-18 03:13:48 UTC) #22
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/9957)
6 years, 3 months ago (2014-09-18 05:19:41 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patchset/575113002/120001
6 years, 3 months ago (2014-09-18 07:00:23 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/9996)
6 years, 3 months ago (2014-09-18 09:05:07 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/575113002/120001
6 years, 3 months ago (2014-09-18 14:40:56 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/575113002/140001
6 years, 3 months ago (2014-09-18 15:48:24 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg_tests_recipe on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/android_dbg_tests_recipe/builds/10122)
6 years, 3 months ago (2014-09-18 18:00:21 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/575113002/160001
6 years, 3 months ago (2014-09-18 18:48:18 UTC) #36
commit-bot: I haz the power
Committed patchset #7 (id:160001) as ccd38187849e94e645acf5514096baa3660f4d82
6 years, 3 months ago (2014-09-18 19:32:13 UTC) #37
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 19:32:47 UTC) #38
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/9065985da2ce2a4f73150ac5eabab29c5d67505d
Cr-Commit-Position: refs/heads/master@{#295523}

Powered by Google App Engine
This is Rietveld 408576698