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

Issue 1143313006: Add an activity that allows whitelisted applications to clear all data in Chrome. (Closed)

Created:
5 years, 6 months ago by Bernhard Bauer
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an activity that allows whitelisted applications to clear all data in Chrome, or ask whether there is data to clear. The activity can be invoked as part of the child account setup from outside Chrome via an explicit Intent to ResetDataActivity (using Activity.startActivityForResult). BUG=482889 Committed: https://crrev.com/2ad62c8b6260e07b697cd8aa8802874cecbc417d Cr-Commit-Position: refs/heads/master@{#336129}

Patch Set 1 #

Total comments: 6

Patch Set 2 : update #

Total comments: 4

Patch Set 3 : review #

Total comments: 4

Patch Set 4 : sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -812 lines) Patch
M chrome/android/java/AndroidManifest.xml View 1 2 3 1 chunk +6 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ChromiumApplication.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/child_accounts/ChildAccountFeedbackReporter.java View 1 2 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/child_accounts/ChildAccountService.java View 1 2 1 chunk +0 lines, -361 lines 0 comments Download
D chrome/android/java/src/org/chromium/chrome/browser/child_accounts/ExternalFeedbackReporter.java View 1 1 chunk +0 lines, -21 lines 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountFeedbackReporter.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ChildAccountService.java View 1 2 1 chunk +1 line, -1 line 0 comments Download
A + chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ExternalFeedbackReporter.java View 1 1 chunk +1 line, -1 line 0 comments Download
A chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java View 1 2 1 chunk +117 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/services/AndroidEduAndChildAccountHelper.java View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/AccountManagementFragment.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/sync/ui/SyncCustomizationFragment.java View 1 1 chunk +1 line, -1 line 0 comments Download
D chrome/android/junit/src/org/chromium/chrome/browser/child_accounts/ChildAccountServiceTest.java View 1 2 1 chunk +0 lines, -374 lines 0 comments Download
A + chrome/android/junit/src/org/chromium/chrome/browser/childaccounts/ChildAccountServiceTest.java View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 32 (8 generated)
Bernhard Bauer
Please review. Thanks!
5 years, 6 months ago (2015-06-08 14:54:49 UTC) #2
aurimas (slooooooooow)
A few questions to get this started: 1. Are there mocks for this? I prefer ...
5 years, 6 months ago (2015-06-08 17:29:47 UTC) #3
Bernhard Bauer
On 2015/06/08 17:29:47, aurimas wrote: > A few questions to get this started: > 1. ...
5 years, 6 months ago (2015-06-08 18:02:30 UTC) #4
Bernhard Bauer
On 2015/06/08 18:02:30, Bernhard Bauer wrote: > On 2015/06/08 17:29:47, aurimas wrote: > > A ...
5 years, 6 months ago (2015-06-09 14:26:17 UTC) #5
aurimas (slooooooooow)
It looks fairly reasonable, but let's wait for actual strings before landing this. https://codereview.chromium.org/1143313006/diff/1/chrome/android/java/res/values-v19/styles.xml File ...
5 years, 6 months ago (2015-06-09 17:45:03 UTC) #6
Bernhard Bauer
Thanks for the review! It turned out that any dialog was too much UI for ...
5 years, 6 months ago (2015-06-15 17:07:29 UTC) #7
Bernhard Bauer
Updated. PTAL?
5 years, 6 months ago (2015-06-16 14:26:46 UTC) #8
aurimas (slooooooooow)
Thanks a lot for the package rename. That part looks good. ResetDataActivity.java seems to expose ...
5 years, 6 months ago (2015-06-16 20:23:46 UTC) #10
Bernhard Bauer
https://codereview.chromium.org/1143313006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java File chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java (right): https://codereview.chromium.org/1143313006/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java#newcode32 chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java:32: private static final int RESULT_ERROR_UNAUTHORIZED = Activity.RESULT_FIRST_USER; On 2015/06/16 ...
5 years, 6 months ago (2015-06-17 14:59:06 UTC) #11
palmer
Overall, this does not look bad to me, but I am not sure I fully ...
5 years, 6 months ago (2015-06-17 21:55:17 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/1143313006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java File chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java (right): https://codereview.chromium.org/1143313006/diff/40001/chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java#newcode91 chrome/android/java/src/org/chromium/chrome/browser/childaccounts/ResetDataActivity.java:91: return ExternalAuthUtils.getInstance().isGoogleSigned(getPackageManager(), On 2015/06/17 21:55:17, palmer wrote: > Ahh, ...
5 years, 6 months ago (2015-06-18 09:08:53 UTC) #13
palmer
Yes, I think this LGTM. It's the best/the only/a reasonable way to do what you ...
5 years, 6 months ago (2015-06-18 19:07:25 UTC) #14
Bernhard Bauer
Aurimas, do you want to take another look?
5 years, 6 months ago (2015-06-23 09:01:51 UTC) #15
Bernhard Bauer
On 2015/06/23 09:01:51, Bernhard Bauer wrote: > Aurimas, do you want to take another look? ...
5 years, 6 months ago (2015-06-24 16:13:31 UTC) #16
aurimas (slooooooooow)
lgtm
5 years, 6 months ago (2015-06-24 16:43:11 UTC) #17
aurimas (slooooooooow)
Don't forget to update the commit message.
5 years, 6 months ago (2015-06-24 16:43:52 UTC) #18
Bernhard Bauer
On 2015/06/24 16:43:52, aurimas wrote: > Don't forget to update the commit message. Done (Rietveld ...
5 years, 6 months ago (2015-06-24 16:46:21 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143313006/40001
5 years, 6 months ago (2015-06-24 16:47:06 UTC) #21
commit-bot: I haz the power
Exceeded global retry quota
5 years, 6 months ago (2015-06-24 16:49:36 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143313006/60001
5 years, 6 months ago (2015-06-25 09:20:41 UTC) #26
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/81036)
5 years, 6 months ago (2015-06-25 11:10:57 UTC) #28
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1143313006/60001
5 years, 6 months ago (2015-06-25 11:31:00 UTC) #30
commit-bot: I haz the power
Committed patchset #4 (id:60001)
5 years, 6 months ago (2015-06-25 11:58:46 UTC) #31
commit-bot: I haz the power
5 years, 6 months ago (2015-06-25 11:59:51 UTC) #32
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/2ad62c8b6260e07b697cd8aa8802874cecbc417d
Cr-Commit-Position: refs/heads/master@{#336129}

Powered by Google App Engine
This is Rietveld 408576698