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

Issue 2359003004: Disable ACTION_BOOT_COMPLETED event for 3rd party apps. (Closed)

Created:
4 years, 3 months ago by xzhou
Modified:
4 years, 2 months ago
CC:
chromium-reviews, elijahtaylor+arcwatch_chromium.org, asvitkine+watch_chromium.org, hashimoto+watch_chromium.org, hidehiko+watch_chromium.org, lhchavez+watch_chromium.org, oshima+watch_chromium.org, davemoore+watch_chromium.org, yusukes+watch_chromium.org, jschuh
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Disable ACTION_BOOT_COMPLETED event for 3rd party apps. Android apps can use the broadcast to start automatically. This Change disable ACTION_BOOT_COMPLETED broadcast for 3rd party applications. BUG=650313 TEST=unit_tests --gtest_filter="*AboutFlagsHistogramTest*" Committed: https://crrev.com/938368c527b95c74317edc7e12924d13787df57e Cr-Commit-Position: refs/heads/master@{#422707}

Patch Set 1 #

Patch Set 2 : Revise user facing strings in chrome://flags #

Total comments: 2

Patch Set 3 : Add TEST and crbug #

Patch Set 4 : Add owners of files touched. #

Patch Set 5 : Replace flags with feature list. #

Total comments: 4

Patch Set 6 : Change flag variable name and make it enabled by default #

Total comments: 11

Patch Set 7 : Fix comments by Alexei. #

Patch Set 8 : Revise flags strings. #

Total comments: 3

Patch Set 9 : Revise flag string. #

Total comments: 15

Patch Set 10 : Fix Daniel's comments #

Total comments: 6

Patch Set 11 : Add new line at end of arc_features.h #

Patch Set 12 : Remove _arc_ in some variables and comments #

Total comments: 2

Patch Set 13 : Refine flag detail string. #

Patch Set 14 : Change load to start. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -5 lines) Patch
M chrome/app/chromeos_strings.grdp View 1 2 3 4 5 6 7 8 9 10 11 12 13 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/browser/about_flags.cc View 1 2 3 4 5 6 7 8 9 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/settings/device_settings_test_helper.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.h View 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/fake_session_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +1 line, -0 lines 0 comments Download
M chromeos/dbus/mock_session_manager_client.h View 1 chunk +4 lines, -2 lines 0 comments Download
M chromeos/dbus/session_manager_client.h View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +6 lines, -3 lines 0 comments Download
M chromeos/dbus/session_manager_client.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +3 lines, -0 lines 0 comments Download
M components/arc/BUILD.gn View 1 2 3 4 1 chunk +2 lines, -0 lines 0 comments Download
M components/arc/arc_bridge_bootstrap.cc View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +5 lines, -0 lines 0 comments Download
A components/arc/arc_features.h View 1 2 3 4 5 6 7 8 9 10 1 chunk +18 lines, -0 lines 0 comments Download
A components/arc/arc_features.cc View 1 2 3 4 5 6 7 8 9 1 chunk +14 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 4 5 6 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 106 (64 generated)
xzhou
rickyz@, lhchavez@, I deleted the previous code review for technique issues. Could you please review ...
4 years, 2 months ago (2016-09-23 17:08:47 UTC) #7
Luis Héctor Chávez
The commit message is missing a TEST= field. You should also probably file a bug ...
4 years, 2 months ago (2016-09-24 02:03:25 UTC) #8
rickyz (no longer on Chrome)
On 2016/09/24 at 02:03:25, lhchavez wrote: > The commit message is missing a TEST= field. ...
4 years, 2 months ago (2016-09-25 21:06:23 UTC) #9
xzhou
On 2016/09/25 21:06:23, rickyz wrote: > On 2016/09/24 at 02:03:25, lhchavez wrote: > > The ...
4 years, 2 months ago (2016-09-26 18:12:26 UTC) #10
xzhou
Fixed Luis' comments and created crbug 650313. https://codereview.chromium.org/2359003004/diff/20001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/20001/chrome/app/chromeos_strings.grdp#newcode6317 chrome/app/chromeos_strings.grdp:6317: <message name="IDS_FLAGS_ARC_ACTION_BOOT_COMPLETED" ...
4 years, 2 months ago (2016-09-26 18:13:30 UTC) #11
Luis Héctor Chávez
On 2016/09/26 18:13:30, xzhou wrote: > Fixed Luis' comments and created crbug 650313. > > ...
4 years, 2 months ago (2016-09-27 15:30:33 UTC) #25
Luis Héctor Chávez
On 2016/09/25 21:06:23, rickyz wrote: > On 2016/09/24 at 02:03:25, lhchavez wrote: > > The ...
4 years, 2 months ago (2016-09-27 15:32:57 UTC) #26
xzhou
On 2016/09/27 15:32:57, Luis Héctor Chávez wrote: > On 2016/09/25 21:06:23, rickyz wrote: > > ...
4 years, 2 months ago (2016-09-27 16:44:47 UTC) #28
xzhou
Add file owners for review.
4 years, 2 months ago (2016-09-29 16:47:41 UTC) #30
Alexei Svitkine (slow)
Instead of adding a new flag, have you considered using the base::Feature API, which is ...
4 years, 2 months ago (2016-09-29 16:49:11 UTC) #32
jam
which parts do you want me to look at?
4 years, 2 months ago (2016-09-29 20:09:55 UTC) #33
xzhou_chrome
On 2016/09/29 20:09:55, jam wrote: > which parts do you want me to look at? ...
4 years, 2 months ago (2016-09-29 20:41:59 UTC) #34
xzhou
On 2016/09/29 16:49:11, Alexei Svitkine (slow) wrote: > Instead of adding a new flag, have ...
4 years, 2 months ago (2016-09-30 18:47:13 UTC) #35
chromium-reviews
If your code is in components/arc - then define your base::Feature there too. On Fri, ...
4 years, 2 months ago (2016-09-30 18:58:10 UTC) #36
xzhou
Hi, Alexei: Thanks for your suggestions. I have moved the features to components/arc/arc_features.[h|cc]. And reverted ...
4 years, 2 months ago (2016-09-30 21:26:33 UTC) #37
Alexei Svitkine (slow)
https://codereview.chromium.org/2359003004/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc (right): https://codereview.chromium.org/2359003004/diff/80001/chrome/browser/about_flags.cc#newcode2111 chrome/browser/about_flags.cc:2111: }, Nit: This should go on the previous line ...
4 years, 2 months ago (2016-09-30 21:34:04 UTC) #40
xzhou
On 2016/09/30 21:34:04, Alexei Svitkine (slow) wrote: > https://codereview.chromium.org/2359003004/diff/80001/chrome/browser/about_flags.cc > File chrome/browser/about_flags.cc (right): > > ...
4 years, 2 months ago (2016-10-01 00:37:02 UTC) #45
xzhou
Changed variable name as well as flag descriptions. See Patch 6. Thanks. https://codereview.chromium.org/2359003004/diff/80001/chrome/browser/about_flags.cc File chrome/browser/about_flags.cc ...
4 years, 2 months ago (2016-10-01 00:37:42 UTC) #46
Alexei Svitkine (slow)
lgtm https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc File components/arc/arc_features.cc (right): https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc#newcode9 components/arc/arc_features.cc:9: // Disable ACTION_BOOT_COMPLETD broadcast for 3rd party applications ...
4 years, 2 months ago (2016-10-03 15:02:48 UTC) #53
Alexei Svitkine (slow)
Actually, have some more comments - but lgtm % those. https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc File components/arc/arc_features.cc (right): https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc#newcode3 ...
4 years, 2 months ago (2016-10-03 15:04:32 UTC) #54
Luis Héctor Chávez
not lgtm https://codereview.chromium.org/2359003004/diff/100001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/100001/chrome/app/chromeos_strings.grdp#newcode6318 chrome/app/chromeos_strings.grdp:6318: Android apps load automatically Please reach out ...
4 years, 2 months ago (2016-10-03 15:43:27 UTC) #55
xzhou
On 2016/10/03 15:43:27, Luis Héctor Chávez wrote: > not lgtm > > https://codereview.chromium.org/2359003004/diff/100001/chrome/app/chromeos_strings.grdp > File ...
4 years, 2 months ago (2016-10-03 19:04:48 UTC) #58
xzhou
On 2016/10/03 15:04:32, Alexei Svitkine (slow) wrote: > Actually, have some more comments - but ...
4 years, 2 months ago (2016-10-03 19:05:07 UTC) #59
chromium-reviews
In the future, please reply to comments individually via the review tool, rather than quoting ...
4 years, 2 months ago (2016-10-03 19:27:53 UTC) #62
Luis Héctor Chávez
https://codereview.chromium.org/2359003004/diff/140001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/140001/chrome/app/chromeos_strings.grdp#newcode6321 chrome/app/chromeos_strings.grdp:6321: Allow Android apps load automatically after startup and reboot. ...
4 years, 2 months ago (2016-10-03 19:49:00 UTC) #63
Luis Héctor Chávez
https://codereview.chromium.org/2359003004/diff/140001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/140001/chrome/app/chromeos_strings.grdp#newcode6321 chrome/app/chromeos_strings.grdp:6321: Allow Android apps load automatically after startup and reboot. ...
4 years, 2 months ago (2016-10-03 19:53:49 UTC) #64
xzhou
On 2016/10/03 19:53:49, Luis Héctor Chávez wrote: > https://codereview.chromium.org/2359003004/diff/140001/chrome/app/chromeos_strings.grdp > File chrome/app/chromeos_strings.grdp (right): > > ...
4 years, 2 months ago (2016-10-03 20:05:35 UTC) #67
Luis Héctor Chávez
remember, for each comment in the review, you need to click on the comment's "Done" ...
4 years, 2 months ago (2016-10-03 20:07:04 UTC) #68
xzhou
Revised flag strings and fixed a couple of nit comments. https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc File components/arc/arc_features.cc (right): https://codereview.chromium.org/2359003004/diff/100001/components/arc/arc_features.cc#newcode3 ...
4 years, 2 months ago (2016-10-03 20:08:42 UTC) #69
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2359003004/160001
4 years, 2 months ago (2016-10-03 21:54:44 UTC) #76
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/272415)
4 years, 2 months ago (2016-10-03 22:03:22 UTC) #78
xzhou
On 2016/10/03 22:03:22, commit-bot: I haz the power wrote: > Try jobs failed on following ...
4 years, 2 months ago (2016-10-03 22:19:31 UTC) #80
Daniel Erat
https://codereview.chromium.org/2359003004/diff/160001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/160001/chrome/app/chromeos_strings.grdp#newcode6317 chrome/app/chromeos_strings.grdp:6317: <message name="IDS_FLAGS_ARC_ACTION_BOOT_COMPLETED" desc="Name of the flag for blocking the ...
4 years, 2 months ago (2016-10-03 22:39:28 UTC) #81
xzhou
Fix derat@'s comments. https://codereview.chromium.org/2359003004/diff/160001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/160001/chrome/app/chromeos_strings.grdp#newcode6317 chrome/app/chromeos_strings.grdp:6317: <message name="IDS_FLAGS_ARC_ACTION_BOOT_COMPLETED" desc="Name of the flag ...
4 years, 2 months ago (2016-10-03 23:29:31 UTC) #83
Daniel Erat
thanks, looks okay to me with a few more nits https://codereview.chromium.org/2359003004/diff/180001/chrome/browser/chromeos/settings/device_settings_test_helper.cc File chrome/browser/chromeos/settings/device_settings_test_helper.cc (right): https://codereview.chromium.org/2359003004/diff/180001/chrome/browser/chromeos/settings/device_settings_test_helper.cc#newcode190 ...
4 years, 2 months ago (2016-10-03 23:50:25 UTC) #85
xzhou
derat@, thanks a lot for your quick review. Renamed "disable_arc_boot_completed_broadcast" to "disable_boot_completed_broadcast" for simplicity. https://codereview.chromium.org/2359003004/diff/180001/chrome/browser/chromeos/settings/device_settings_test_helper.cc ...
4 years, 2 months ago (2016-10-04 00:09:55 UTC) #86
Daniel Erat
thanks! lgtm with one more nit; feel free to submit after addressing. https://codereview.chromium.org/2359003004/diff/220001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp ...
4 years, 2 months ago (2016-10-04 00:14:49 UTC) #89
xzhou
On 2016/10/04 00:14:49, Daniel Erat wrote: > thanks! lgtm with one more nit; feel free ...
4 years, 2 months ago (2016-10-04 00:21:20 UTC) #90
xzhou
Refined the details string (https://b.corp.google.com/issues/30836420). https://codereview.chromium.org/2359003004/diff/220001/chrome/app/chromeos_strings.grdp File chrome/app/chromeos_strings.grdp (right): https://codereview.chromium.org/2359003004/diff/220001/chrome/app/chromeos_strings.grdp#newcode6321 chrome/app/chromeos_strings.grdp:6321: Allow Android apps to ...
4 years, 2 months ago (2016-10-04 03:26:16 UTC) #97
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2359003004/260001
4 years, 2 months ago (2016-10-04 04:27:31 UTC) #102
commit-bot: I haz the power
Committed patchset #14 (id:260001)
4 years, 2 months ago (2016-10-04 04:33:38 UTC) #104
commit-bot: I haz the power
4 years, 2 months ago (2016-10-04 04:37:38 UTC) #106
Message was sent while issue was closed.
Patchset 14 (id:??) landed as
https://crrev.com/938368c527b95c74317edc7e12924d13787df57e
Cr-Commit-Position: refs/heads/master@{#422707}

Powered by Google App Engine
This is Rietveld 408576698