Chromium Code Reviews
DescriptionRemove 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/ #
Messages
Total messages: 28 (21 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||