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

Issue 1405643004: Remove passwordsPrivate.canPasswordAccountBeManaged (Closed)

Created:
5 years, 2 months ago by vabr (Chromium)
Modified:
5 years, 2 months ago
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, vitalyp+closure_chromium.org, dbeam+watch-closure_chromium.org, jlklein+watch-closure_chromium.org, extensions-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@480552_clean-up-PasswordLinkInSettings
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove passwordsPrivate.canPasswordAccountBeManaged After https://codereview.chromium.org/1396403004/, that function will always do the same thing (call the callback with 'true'). R=khorimoto@chromium.org BUG=480552 Note: the presubmit check fails only because of the expected (https://codereview.chromium.org/1405643004/#msg14) warning about the histograms. There are no errors or other warnings. I filed http://crbug.com/546633 for that. Including the line below to get this landed: NOPRESUBMIT=true Committed: https://crrev.com/4377b57f8786cef2baaf0c84487beaaa4c57fcf8 Cr-Commit-Position: refs/heads/master@{#355560}

Patch Set 1 #

Patch Set 2 : Only rebase #

Patch Set 3 : Fixed histograms #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -63 lines) Patch
M chrome/browser/extensions/api/passwords_private/passwords_private_api.h View 1 chunk +0 lines, -17 lines 0 comments Download
M chrome/browser/extensions/api/passwords_private/passwords_private_api.cc View 1 chunk +0 lines, -12 lines 0 comments Download
M chrome/browser/extensions/api/passwords_private/passwords_private_apitest.cc View 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/common/extensions/api/passwords_private.idl View 1 chunk +0 lines, -10 lines 0 comments Download
M chrome/test/data/extensions/api_test/passwords_private/test.js View 1 chunk +0 lines, -9 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M third_party/closure_compiler/externs/passwords_private.js View 1 chunk +0 lines, -9 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 1 chunk +2 lines, -1 line 0 comments Download

Depends on Patchset:

Messages

Total messages: 29 (8 generated)
vabr (Chromium)
Kyle, I checked by grepping in the codebase, that passwordsPrivate.canPasswordAccountBeManaged is not used. Looking in ...
5 years, 2 months ago (2015-10-15 13:56:06 UTC) #2
Finnur
LGTM
5 years, 2 months ago (2015-10-15 14:58:54 UTC) #3
Kyle Horimoto
On 2015/10/15 13:56:06, vabr (Chromium) wrote: > Kyle, > I checked by grepping in the ...
5 years, 2 months ago (2015-10-15 16:40:44 UTC) #4
Kyle Horimoto
I don't think this is good enough - you likely need to remove some of ...
5 years, 2 months ago (2015-10-15 16:43:03 UTC) #5
vabr (Chromium)
Finnur, Could I ask you to also review if this looks like a clean removal ...
5 years, 2 months ago (2015-10-16 10:12:29 UTC) #7
Finnur
It's been months since I touched any extensions code, so my world-view of it has ...
5 years, 2 months ago (2015-10-16 11:48:12 UTC) #8
vabr (Chromium)
Thanks, Finnur! To be on the safe side, I'll ask Devlin. Hi Devlin, Could you ...
5 years, 2 months ago (2015-10-16 11:52:51 UTC) #10
Kyle Horimoto
LGTM pending an LGTM from someone on the extensions API team.
5 years, 2 months ago (2015-10-16 16:44:04 UTC) #11
Ilya Sherman
histograms lgtm On 2015/10/16 10:12:29, vabr (Chromium) wrote: > Ilya, > Please review my change ...
5 years, 2 months ago (2015-10-16 19:51:12 UTC) #12
Ilya Sherman
5 years, 2 months ago (2015-10-16 19:51:18 UTC) #13
Devlin
Looks like you got them all (assuming there's not an extension somewhere to be updated). ...
5 years, 2 months ago (2015-10-20 16:35:40 UTC) #14
Devlin
That was all meant to end in "LGTM".
5 years, 2 months ago (2015-10-20 16:35:56 UTC) #15
vabr (Chromium)
Thanks, Devlin! On 2015/10/20 16:35:40, Devlin wrote: > Looks like you got them all (assuming ...
5 years, 2 months ago (2015-10-20 16:42:44 UTC) #16
vabr (Chromium)
Dan, Could you please review third_party/closure_compiler/externs/passwords_private.js? It feels weird to change third_party, but looking at ...
5 years, 2 months ago (2015-10-20 16:43:09 UTC) #17
Dan Beam
lgtm
5 years, 2 months ago (2015-10-22 16:00:53 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1405643004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1405643004/40001
5 years, 2 months ago (2015-10-22 16:13:48 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/111819)
5 years, 2 months ago (2015-10-22 16:21:52 UTC) #23
vabr (Chromium)
As Devlin predicted, the presubmit check is giving me troubles. I did my due diligence, ...
5 years, 2 months ago (2015-10-22 17:14:56 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1405643004/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1405643004/40001
5 years, 2 months ago (2015-10-22 17:16:11 UTC) #27
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 2 months ago (2015-10-22 17:17:31 UTC) #28
commit-bot: I haz the power
5 years, 2 months ago (2015-10-22 17:18:22 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/4377b57f8786cef2baaf0c84487beaaa4c57fcf8
Cr-Commit-Position: refs/heads/master@{#355560}

Powered by Google App Engine
This is Rietveld 408576698