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

Issue 1484143003: Clear the HTTP auth state when clearing cookies or cache. (Closed)

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

Description

Clear the HTTP auth state when clearing cookies or cache. Thus, the user-facing behavior is now analogous to that of regular passwords, i.e. 1. delete passwords form chrome://settings/clearBrowserData or chrome://settings/passwords so that the password is not filled on login 2. delete cookies to actually log out The small difference is that in the case of HTTP auth, user will be logged out even if they delete cache. This is because the auth state is deleted as part of the network history deletion, which is done when choosing cookies OR cache from chrome://settings/clearBrowserData. This is probably desirable. Tested manually. BUG=108291

Patch Set 1 #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+5 lines, -1 line) Patch
M chrome/browser/profiles/profile_impl_io_data.cc View 1 chunk +5 lines, -1 line 7 comments Download

Messages

Total messages: 10 (4 generated)
msramek
Hi Matt, can you please have a look at this? Thanks, Martin
5 years ago (2015-12-01 10:06:58 UTC) #2
mmenke
[+asanka], who actually knows auth. https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode781 chrome/browser/profiles/profile_impl_io_data.cc:781: void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( Hrm...Is this ...
5 years ago (2015-12-01 15:59:49 UTC) #4
msramek
https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode781 chrome/browser/profiles/profile_impl_io_data.cc:781: void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( On 2015/12/01 15:59:48, mmenke wrote: > Hrm...Is ...
5 years ago (2015-12-01 16:26:04 UTC) #5
asanka
https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode781 chrome/browser/profiles/profile_impl_io_data.cc:781: void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( Putting this in ClearNetworkHistorySinceOnIOThread() means that HttpAuthCache ...
5 years ago (2015-12-01 17:51:10 UTC) #6
mmenke
https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc File chrome/browser/profiles/profile_impl_io_data.cc (right): https://codereview.chromium.org/1484143003/diff/1/chrome/browser/profiles/profile_impl_io_data.cc#newcode781 chrome/browser/profiles/profile_impl_io_data.cc:781: void ProfileImplIOData::ClearNetworkingHistorySinceOnIOThread( On 2015/12/01 17:51:10, asanka wrote: > Putting ...
5 years ago (2015-12-01 17:59:32 UTC) #7
msramek
4 years, 5 months ago (2016-07-12 16:08:02 UTC) #10
Message was sent while issue was closed.
Closing this in favor of https://codereview.chromium.org/2097043002/.

Powered by Google App Engine
This is Rietveld 408576698