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

Issue 12316077: Move the parsing of app.launch related keys out of Extension class. (Closed)

Created:
7 years, 10 months ago by Joe Thomas
Modified:
7 years, 1 month ago
CC:
chromium-reviews, dbeam+watch-ntp_chromium.org, dbeam+watch-options_chromium.org, sadrul, nkostylev+watch_chromium.org, ben+watch_chromium.org, jeremya+watch_chromium.org, sail+watch_chromium.org, Aaron Boodman, oshima+watch_chromium.org, estade+watch_chromium.org, chromium-apps-reviews_chromium.org, James Su, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move the parsing of app.launch related keys out of Extension class. BUG=159265 TBR=ben@chromium.org

Patch Set 1 #

Total comments: 30

Patch Set 2 : Rebase + review comments addressed #

Total comments: 13

Patch Set 3 : patch updated #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+636 lines, -322 lines) Patch
M chrome/browser/autocomplete/extension_app_provider.cc View 1 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/kiosk_mode/kiosk_mode_screensaver.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/screensaver/screensaver_controller.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/developer_private/developer_private_api.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/api/management/management_api.cc View 1 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/extensions/app_launch_manifest_parser.h View 1 2 1 chunk +37 lines, -0 lines 0 comments Download
A chrome/browser/extensions/app_launch_manifest_parser.cc View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_browsertest.cc View 1 2 3 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/convert_web_app_unittest.cc View 1 2 3 4 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_prefs.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_service_unittest.cc View 1 2 3 8 chunks +17 lines, -9 lines 0 comments Download
M chrome/browser/extensions/tab_helper.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/profiles/profile_dependency_manager.cc View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/app_shortcut_launcher_item_controller.cc View 1 2 3 2 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_browser.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/browser_browsertest.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 1 2 3 3 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/ui/tabs/pinned_tab_codec.cc View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/tabs/tab_strip_model_unittest.cc View 1 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/ui/web_applications/web_app_ui.cc View 1 2 3 2 chunks +2 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/extensions/extension_icon_source.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 1 2 3 3 chunks +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/options/content_settings_handler.cc View 1 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/web_applications/web_app.cc View 1 2 chunks +4 lines, -1 line 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/chrome_common.gypi View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download
A chrome/common/extensions/app_launcher_info.h View 1 2 3 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/common/extensions/app_launcher_info.cc View 1 2 3 1 chunk +325 lines, -0 lines 0 comments Download
M chrome/common/extensions/extension.h View 1 2 3 5 chunks +4 lines, -35 lines 0 comments Download
M chrome/common/extensions/extension.cc View 1 2 3 7 chunks +5 lines, -216 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.h View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/extension_manifest_constants.cc View 1 2 3 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_launch_unittest.cc View 1 2 4 chunks +29 lines, -16 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc View 1 2 1 chunk +16 lines, -6 lines 0 comments Download
M chrome/common/extensions/manifest_tests/extension_manifests_web_unittest.cc View 1 2 2 chunks +12 lines, -4 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
Joe Thomas
7 years, 10 months ago (2013-02-22 20:10:54 UTC) #1
Yoyo Zhou
https://chromiumcodereview.appspot.com/12316077/diff/1/chrome/browser/ui/tabs/tab_strip_model_unittest.cc File chrome/browser/ui/tabs/tab_strip_model_unittest.cc (right): https://chromiumcodereview.appspot.com/12316077/diff/1/chrome/browser/ui/tabs/tab_strip_model_unittest.cc#newcode126 chrome/browser/ui/tabs/tab_strip_model_unittest.cc:126: } Please also add a TearDown() to call ManifestHandler::ClearRegistryForTesting(); ...
7 years, 9 months ago (2013-02-27 02:43:33 UTC) #2
Devlin
https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.cc File chrome/common/extensions/app_launch_manifest_handler.cc (right): https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.cc#newcode116 chrome/common/extensions/app_launch_manifest_handler.cc:116: // launch URL can be either local (to chrome-extension:// ...
7 years, 9 months ago (2013-02-27 19:12:47 UTC) #3
Yoyo Zhou
https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc File chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc (right): https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc#newcode20 chrome/common/extensions/manifest_tests/extension_manifests_validapp_unittest.cc:20: for (size_t i = 0; i < app_launch_keys.size(); ++i) ...
7 years, 9 months ago (2013-02-27 19:40:31 UTC) #4
Joe Thomas
Thanks Yoyo & Devlin for the review. Patch update. please take another look. https://codereview.chromium.org/12316077/diff/1/chrome/browser/ui/tabs/tab_strip_model_unittest.cc File ...
7 years, 9 months ago (2013-03-01 23:26:56 UTC) #5
Yoyo Zhou
https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.cc File chrome/common/extensions/app_launch_manifest_handler.cc (right): https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.cc#newcode312 chrome/common/extensions/app_launch_manifest_handler.cc:312: bool AppLaunchManifestHandler::AlwaysParseForType(Manifest::Type type) { On 2013/03/01 23:26:57, Joe Thomas ...
7 years, 9 months ago (2013-03-05 20:17:10 UTC) #6
Devlin
https://codereview.chromium.org/12316077/diff/8001/chrome/browser/extensions/app_launch_manifest_parser.cc File chrome/browser/extensions/app_launch_manifest_parser.cc (right): https://codereview.chromium.org/12316077/diff/8001/chrome/browser/extensions/app_launch_manifest_parser.cc#newcode8 chrome/browser/extensions/app_launch_manifest_parser.cc:8: #include "chrome/browser/profiles/profile.h" nit: Don't need this one either, I ...
7 years, 9 months ago (2013-03-08 17:44:21 UTC) #7
Joe Thomas
Patch rebased and updated. PTAL https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.h File chrome/common/extensions/app_launch_manifest_handler.h (right): https://codereview.chromium.org/12316077/diff/1/chrome/common/extensions/app_launch_manifest_handler.h#newcode38 chrome/common/extensions/app_launch_manifest_handler.h:38: // absolute. If relative, ...
7 years, 9 months ago (2013-03-09 01:59:52 UTC) #8
Yoyo Zhou
LGTM
7 years, 9 months ago (2013-03-11 23:01:37 UTC) #9
Devlin
lgtm
7 years, 9 months ago (2013-03-13 16:36:00 UTC) #10
Joe Thomas
TBR=Ben as the refactoring in components other than extension/ are trivial.
7 years, 9 months ago (2013-03-14 00:14:00 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/12316077/22001
7 years, 9 months ago (2013-03-14 00:15:16 UTC) #12
commit-bot: I haz the power
Failed to apply patch for chrome/browser/ui/extensions/application_launch.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 9 months ago (2013-03-14 00:15:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/MHX348@motorola.com/12316077/56001
7 years, 9 months ago (2013-03-23 16:18:00 UTC) #14
commit-bot: I haz the power
Retried try job too often on win_rel for step(s) net_unittests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_rel&number=126700
7 years, 9 months ago (2013-03-23 18:24:03 UTC) #15
JoeThomas
7 years, 8 months ago (2013-04-13 04:48:36 UTC) #16
Moving this CL to https://chromiumcodereview.appspot.com/14241002/ as there is a
change of e-mail address.

Thanks.

Powered by Google App Engine
This is Rietveld 408576698