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

Issue 657023008: Add a new field "source" in launchData of chrome.app.runtime.onLaunched() to trace launch source. (Closed)

Created:
6 years, 2 months ago by cylee1
Modified:
6 years, 1 month ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, extensions-reviews_chromium.org, sadrul, estade+watch_chromium.org, tfarina, dbeam+watch-ntp_chromium.org, chromium-apps-reviews_chromium.org, kalyank, ben+ash_chromium.org, pedrosimonetti+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add a new field "source" in launchData of chrome.app.runtime.onLaunched() to trace launch source. BUG=chromium:400619 Committed: https://crrev.com/988a9bb5eebf30245ab1150d94bca22fc1c9c89e Cr-Commit-Position: refs/heads/master@{#302617}

Patch Set 1 #

Total comments: 10

Patch Set 2 : #

Patch Set 3 : #

Total comments: 44

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Total comments: 4

Patch Set 7 : #

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Total comments: 2

Patch Set 11 : #

Patch Set 12 : fix typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -73 lines) Patch
M apps/app_load_service.h View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M apps/app_load_service.cc View 1 2 3 4 chunks +11 lines, -8 lines 0 comments Download
M apps/launcher.h View 1 3 chunks +9 lines, -3 lines 0 comments Download
M apps/launcher.cc View 1 2 3 4 7 chunks +20 lines, -20 lines 0 comments Download
M chrome/browser/apps/app_launch_for_metro_restart_win.cc View 1 2 3 4 5 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/apps/app_shim/extension_app_shim_handler_mac.cc View 1 2 3 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/ui/app_list/app_list_controller_delegate_impl.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/launcher/chrome_launcher_controller.cc View 1 2 3 4 5 6 2 chunks +5 lines, -1 line 0 comments Download
M chrome/browser/ui/chrome_pages.cc View 1 2 3 1 chunk +13 lines, -1 line 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.h View 1 2 3 2 chunks +5 lines, -0 lines 0 comments Download
M chrome/browser/ui/extensions/app_launch_params.cc View 1 2 3 4 5 6 3 chunks +7 lines, -3 lines 0 comments Download
M chrome/browser/ui/extensions/application_launch.cc View 1 2 3 1 chunk +5 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/ntp/app_launcher_handler.cc View 2 chunks +2 lines, -0 lines 0 comments Download
M extensions/browser/api/app_runtime/app_runtime_api.h View 1 2 chunks +3 lines, -1 line 0 comments Download
M extensions/browser/api/app_runtime/app_runtime_api.cc View 1 2 3 4 5 6 7 8 9 8 chunks +65 lines, -5 lines 0 comments Download
M extensions/common/api/app_runtime.idl View 1 2 3 4 2 chunks +19 lines, -0 lines 0 comments Download
M extensions/common/constants.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +21 lines, -0 lines 0 comments Download
M extensions/common/feature_switch.h View 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/feature_switch.cc View 3 chunks +21 lines, -23 lines 0 comments Download
M extensions/common/switches.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M extensions/common/switches.cc View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M extensions/renderer/resources/app_runtime_custom_bindings.js View 1 2 3 4 5 6 1 chunk +4 lines, -1 line 0 comments Download
M extensions/shell/browser/shell_extension_system.cc View 1 2 3 4 5 6 2 chunks +3 lines, -1 line 0 comments Download
M tools/metrics/histograms/histograms.xml View 2 chunks +24 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (6 generated)
cylee1
On 2014/10/15 18:56:31, cylee1 wrote: > mailto:cylee@chromium.org changed reviewers: > + mailto:benwells@chromium.org Hi Ben, Related ...
6 years, 2 months ago (2014-10-16 11:44:33 UTC) #2
cylee1
6 years, 2 months ago (2014-10-16 11:45:12 UTC) #3
benwells
I've got a question about the API definition, which impacts the .idl file. I've put ...
6 years, 2 months ago (2014-10-16 22:50:20 UTC) #4
benwells
https://codereview.chromium.org/657023008/diff/1/apps/app_load_service.cc File apps/app_load_service.cc (right): https://codereview.chromium.org/657023008/diff/1/apps/app_load_service.cc#newcode103 apps/app_load_service.cc:103: profile_, extension, extensions::SOURCE_RELOAD); This is unclear. Also, the source ...
6 years, 2 months ago (2014-10-21 03:51:58 UTC) #5
cylee1
https://codereview.chromium.org/657023008/diff/1/apps/app_load_service.cc File apps/app_load_service.cc (right): https://codereview.chromium.org/657023008/diff/1/apps/app_load_service.cc#newcode103 apps/app_load_service.cc:103: profile_, extension, extensions::SOURCE_RELOAD); On 2014/10/21 03:51:57, benwells wrote: > ...
6 years, 2 months ago (2014-10-21 13:41:17 UTC) #6
cylee1
Friendly ping.
6 years, 2 months ago (2014-10-23 08:07:03 UTC) #7
cylee1
Hi Ben, ping, how's it going ?
6 years, 1 month ago (2014-10-27 05:48:35 UTC) #8
benwells
Sorry about the delay! https://codereview.chromium.org/657023008/diff/40001/apps/app_load_service.h File apps/app_load_service.h (right): https://codereview.chromium.org/657023008/diff/40001/apps/app_load_service.h#newcode33 apps/app_load_service.h:33: RELOAD, Nit: this should be ...
6 years, 1 month ago (2014-10-28 21:22:48 UTC) #9
cylee1
https://codereview.chromium.org/657023008/diff/40001/apps/app_load_service.h File apps/app_load_service.h (right): https://codereview.chromium.org/657023008/diff/40001/apps/app_load_service.h#newcode33 apps/app_load_service.h:33: RELOAD, On 2014/10/28 21:22:47, benwells wrote: > Nit: this ...
6 years, 1 month ago (2014-10-29 16:40:00 UTC) #10
cylee1
After a git pull some files are integrated with changes by others. So if you ...
6 years, 1 month ago (2014-10-29 17:23:49 UTC) #11
benwells
On 2014/10/29 17:23:49, cylee1 wrote: > After a git pull some files are integrated with ...
6 years, 1 month ago (2014-10-30 05:41:16 UTC) #12
benwells
https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc File chrome/browser/ui/extensions/application_launch.cc (right): https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc#newcode354 chrome/browser/ui/extensions/application_launch.cc:354: source(extensions::SOURCE_UNKNOWN) { On 2014/10/29 16:39:59, cylee1 wrote: > On ...
6 years, 1 month ago (2014-10-30 06:04:29 UTC) #13
cylee1
https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc File chrome/browser/ui/extensions/application_launch.cc (right): https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc#newcode354 chrome/browser/ui/extensions/application_launch.cc:354: source(extensions::SOURCE_UNKNOWN) { On 2014/10/30 06:04:28, benwells wrote: > On ...
6 years, 1 month ago (2014-10-30 13:03:44 UTC) #14
benwells
https://codereview.chromium.org/657023008/diff/100001/extensions/browser/api/app_runtime/app_runtime_api.cc File extensions/browser/api/app_runtime/app_runtime_api.cc (right): https://codereview.chromium.org/657023008/diff/100001/extensions/browser/api/app_runtime/app_runtime_api.cc#newcode47 extensions/browser/api/app_runtime/app_runtime_api.cc:47: BrowserContext* context) { On 2014/10/30 13:03:43, cylee1 wrote: > ...
6 years, 1 month ago (2014-10-30 22:30:55 UTC) #15
benwells
On 2014/10/30 13:03:44, cylee1 wrote: > https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc > File chrome/browser/ui/extensions/application_launch.cc (right): > > https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc#newcode354 > ...
6 years, 1 month ago (2014-10-30 22:32:06 UTC) #16
cylee1
https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc File chrome/browser/ui/extensions/application_launch.cc (right): https://codereview.chromium.org/657023008/diff/40001/chrome/browser/ui/extensions/application_launch.cc#newcode354 chrome/browser/ui/extensions/application_launch.cc:354: source(extensions::SOURCE_UNKNOWN) { On 2014/10/30 13:03:43, cylee1 wrote: > On ...
6 years, 1 month ago (2014-10-31 06:37:53 UTC) #17
benwells
lgtm
6 years, 1 month ago (2014-11-03 00:16:27 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657023008/180001
6 years, 1 month ago (2014-11-03 19:23:58 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/21827)
6 years, 1 month ago (2014-11-03 19:29:37 UTC) #22
cylee1
Hi Scott, Alexei, This is a CL for tracing where a chrome app is launched ...
6 years, 1 month ago (2014-11-03 19:36:58 UTC) #24
sky
LGTM
6 years, 1 month ago (2014-11-03 21:46:31 UTC) #25
Alexei Svitkine (slow)
lgtm % a comment https://codereview.chromium.org/657023008/diff/180001/extensions/common/constants.h File extensions/common/constants.h (right): https://codereview.chromium.org/657023008/diff/180001/extensions/common/constants.h#newcode111 extensions/common/constants.h:111: // Enumeration of possible app ...
6 years, 1 month ago (2014-11-03 22:03:43 UTC) #26
cylee1
Done. Thanks all. https://codereview.chromium.org/657023008/diff/180001/extensions/common/constants.h File extensions/common/constants.h (right): https://codereview.chromium.org/657023008/diff/180001/extensions/common/constants.h#newcode111 extensions/common/constants.h:111: // Enumeration of possible app launch ...
6 years, 1 month ago (2014-11-04 13:40:23 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/657023008/220001
6 years, 1 month ago (2014-11-04 13:43:26 UTC) #29
commit-bot: I haz the power
Committed patchset #12 (id:220001)
6 years, 1 month ago (2014-11-04 16:39:32 UTC) #30
commit-bot: I haz the power
6 years, 1 month ago (2014-11-04 16:40:05 UTC) #31
Message was sent while issue was closed.
Patchset 12 (id:??) landed as
https://crrev.com/988a9bb5eebf30245ab1150d94bca22fc1c9c89e
Cr-Commit-Position: refs/heads/master@{#302617}

Powered by Google App Engine
This is Rietveld 408576698