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

Issue 2250133003: Simplify PasswordFormManagerState (Closed)

Created:
4 years, 4 months ago by vabr (Chromium)
Modified:
4 years, 4 months ago
Reviewers:
dvadym
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@621355_automate_FetchDataFromPasswordStore
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Simplify PasswordFormManagerState PasswordFormManagerState has 3 states: pre-matching, matching and post-matching phase. After https://codereview.chromium.org/2256703002, none of its public methods can be called during the pre-matching phase. Therefore only the matching and post-matching phase values are needed. This CL: * Removes the "pre-matching phase" value * Renames the remaining values to better describe what they mean * Removes duplicity from the enum name, makes it an enum class and fixes its position in the class declaration R=dvadym@chromium.org BUG=621355 Committed: https://crrev.com/10eebf2b1a61983cd3e0ae67eb5d77b1dd3bb945 Cr-Commit-Position: refs/heads/master@{#412792}

Patch Set 1 #

Patch Set 2 : Add missing cast #

Patch Set 3 : Just rebased #

Patch Set 4 : Just rebased #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -29 lines) Patch
M components/password_manager/core/browser/password_form_manager.h View 2 chunks +4 lines, -10 lines 2 comments Download
M components/password_manager/core/browser/password_form_manager.cc View 1 2 3 14 chunks +16 lines, -19 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 19 (13 generated)
vabr (Chromium)
Hi Vadym, Could you please review this change? Thanks! Vaclav
4 years, 4 months ago (2016-08-18 08:58:37 UTC) #11
dvadym
LGTM https://codereview.chromium.org/2250133003/diff/50001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2250133003/diff/50001/components/password_manager/core/browser/password_form_manager.h#newcode328 components/password_manager/core/browser/password_form_manager.h:328: enum class State { NOT_WAITING, WAITING }; Oh, ...
4 years, 4 months ago (2016-08-18 09:06:50 UTC) #12
vabr (Chromium)
Thanks! https://codereview.chromium.org/2250133003/diff/50001/components/password_manager/core/browser/password_form_manager.h File components/password_manager/core/browser/password_form_manager.h (right): https://codereview.chromium.org/2250133003/diff/50001/components/password_manager/core/browser/password_form_manager.h#newcode328 components/password_manager/core/browser/password_form_manager.h:328: enum class State { NOT_WAITING, WAITING }; On ...
4 years, 4 months ago (2016-08-18 09:27:24 UTC) #13
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/2250133003/50001
4 years, 4 months ago (2016-08-18 09:31:27 UTC) #16
commit-bot: I haz the power
Committed patchset #4 (id:50001)
4 years, 4 months ago (2016-08-18 10:47:22 UTC) #17
commit-bot: I haz the power
4 years, 4 months ago (2016-08-18 10:51:07 UTC) #19
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/10eebf2b1a61983cd3e0ae67eb5d77b1dd3bb945
Cr-Commit-Position: refs/heads/master@{#412792}

Powered by Google App Engine
This is Rietveld 408576698