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

Issue 2656453002: Remove password manager's dependency of BrowsingDataHelper (Closed)

Created:
3 years, 11 months ago by msramek
Modified:
3 years, 11 months ago
Reviewers:
vasilii
CC:
chromium-reviews, gcasto+watchlist_chromium.org, vabr+watchlistpasswordmanager_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove password manager's dependency of BrowsingDataHelper As a part of the browsing_data/ refactoring in crbug.com/668114, the BrowsingDataHelper class will no longer exist in its current form. Before that happens, this CL removes the class' single external dependency which is password_manager/. The method BrowsingDataHelper::IsWebScheme() is copied to the password_manager/ codebase together with its tests. Specifically, in ChromePasswordManagerClient, since this class contains one of its two callsites, and is reachable by the second callsite. It's up to discussion whether that is the semantically correct place to put it; however, the method refers to //content and //extensions, therefore it must be placed in //chrome/browser. Finding a different definition of a "web scheme" would avoid that, however, this CL does not attempt that as doing so would change the functionality of password manager. BUG=668114 Review-Url: https://codereview.chromium.org/2656453002 Cr-Commit-Position: refs/heads/master@{#445722} Committed: https://chromium.googlesource.com/chromium/src/+/bf350a623625a7a12a96add5421e59a1faa66fb5

Patch Set 1 #

Patch Set 2 : Add extensions #ifdef #

Total comments: 3

Patch Set 3 : Added SCOPED_TRACE #

Patch Set 4 : s/spec/possibly_invalid_spec/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+65 lines, -5 lines) Patch
M chrome/browser/password_manager/chrome_password_manager_client.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client.cc View 1 4 chunks +18 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/chrome_password_manager_client_unittest.cc View 1 2 3 3 chunks +41 lines, -0 lines 0 comments Download
M chrome/browser/ui/passwords/manage_passwords_ui_controller.cc View 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 28 (21 generated)
msramek
Hi Василий, Please have a look! This is the dependency I mentioned to you a ...
3 years, 11 months ago (2017-01-23 20:14:31 UTC) #6
vasilii
lgtm https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc File chrome/browser/password_manager/chrome_password_manager_client_unittest.cc (right): https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc#newcode563 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc:563: // CanShowBubbleOnURL currently only depends on the scheme. ...
3 years, 11 months ago (2017-01-24 13:24:07 UTC) #13
msramek
Thanks! https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc File chrome/browser/password_manager/chrome_password_manager_client_unittest.cc (right): https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc#newcode563 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc:563: // CanShowBubbleOnURL currently only depends on the scheme. ...
3 years, 11 months ago (2017-01-24 13:42:32 UTC) #16
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/2656453002/40001
3 years, 11 months ago (2017-01-24 13:43:01 UTC) #20
msramek
https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc File chrome/browser/password_manager/chrome_password_manager_client_unittest.cc (right): https://codereview.chromium.org/2656453002/diff/20001/chrome/browser/password_manager/chrome_password_manager_client_unittest.cc#newcode563 chrome/browser/password_manager/chrome_password_manager_client_unittest.cc:563: // CanShowBubbleOnURL currently only depends on the scheme. On ...
3 years, 11 months ago (2017-01-24 13:50:02 UTC) #22
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/2656453002/60001
3 years, 11 months ago (2017-01-24 13:50:18 UTC) #25
commit-bot: I haz the power
3 years, 11 months ago (2017-01-24 14:37:23 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/bf350a623625a7a12a96add5421e...

Powered by Google App Engine
This is Rietveld 408576698