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

Issue 10227014: Remove the very old code that migrated password data from the WebDataService to PasswordStore. (Closed)

Created:
8 years, 8 months ago by Mike Mammarella
Modified:
8 years, 8 months ago
Reviewers:
Lei Zhang, stuartmorgan
CC:
chromium-reviews, dhollowa+watch_chromium.org
Visibility:
Public.

Description

Remove the very old code that migrated password data from the WebDataService to PasswordStore. Anybody who was going to have their data migrated has long since had it done by now. Also remove most of the code in the WebDataService that was responsible, long ago, for managing the password data stored there. Only imported IE passwords are still stored there. This change deletes over 1500 lines of old crufty code! Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=134155

Patch Set 1 #

Patch Set 2 : #

Total comments: 6

Patch Set 3 : #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -1558 lines) Patch
M chrome/browser/password_manager/password_manager.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_default.h View 3 chunks +1 line, -12 lines 2 comments Download
M chrome/browser/password_manager/password_store_default.cc View 3 chunks +2 lines, -100 lines 0 comments Download
M chrome/browser/password_manager/password_store_default_unittest.cc View 6 chunks +2 lines, -254 lines 0 comments Download
M chrome/browser/password_manager/password_store_factory.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/password_manager/password_store_win.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager/password_store_win_unittest.cc View 4 chunks +0 lines, -184 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.h View 2 chunks +2 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/password_store_x.cc View 1 chunk +1 line, -2 lines 0 comments Download
M chrome/browser/password_manager/password_store_x_unittest.cc View 6 chunks +0 lines, -208 lines 0 comments Download
M chrome/browser/webdata/logins_table.h View 3 chunks +3 lines, -60 lines 0 comments Download
M chrome/browser/webdata/logins_table.cc View 1 2 2 chunks +4 lines, -217 lines 0 comments Download
D chrome/browser/webdata/logins_table_unittest.cc View 1 chunk +0 lines, -279 lines 0 comments Download
M chrome/browser/webdata/web_data_service.h View 1 2 4 chunks +3 lines, -52 lines 0 comments Download
M chrome/browser/webdata/web_data_service.cc View 4 chunks +0 lines, -170 lines 0 comments Download
M chrome/browser/webdata/web_database.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/webdata/web_database_migration_unittest.cc View 1 1 chunk +1 line, -1 line 2 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/common/pref_names.h View 1 chunk +0 lines, -2 lines 0 comments Download
M chrome/common/pref_names.cc View 1 chunk +0 lines, -4 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Mike Mammarella
I'm just guessing at somebody who is probably familiar with the original migration from WDS ...
8 years, 8 months ago (2012-04-26 02:42:35 UTC) #1
stuartmorgan
LGTM with nits. Good riddance! You might want to put a TODO in WebDatabase::Init to ...
8 years, 8 months ago (2012-04-26 08:06:13 UTC) #2
Mike Mammarella
+thestig for owner powerz https://chromiumcodereview.appspot.com/10227014/diff/7003/chrome/browser/password_manager/password_store_win.h File chrome/browser/password_manager/password_store_win.h (right): https://chromiumcodereview.appspot.com/10227014/diff/7003/chrome/browser/password_manager/password_store_win.h#newcode28 chrome/browser/password_manager/password_store_win.h:28: // it there. On 2012/04/26 ...
8 years, 8 months ago (2012-04-26 18:07:33 UTC) #3
Lei Zhang
lgtm https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/password_manager/password_store_default.h File chrome/browser/password_manager/password_store_default.h (left): https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/password_manager/password_store_default.h#oldcode11 chrome/browser/password_manager/password_store_default.h:11: #include "base/memory/ref_counted.h" I think you can remove this ...
8 years, 8 months ago (2012-04-26 19:44:49 UTC) #4
Mike Mammarella
8 years, 8 months ago (2012-04-26 20:58:18 UTC) #5
https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/pass...
File chrome/browser/password_manager/password_store_default.h (left):

https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/pass...
chrome/browser/password_manager/password_store_default.h:11: #include
"base/memory/ref_counted.h"
On 2012/04/26 19:44:49, Lei Zhang wrote:
> I think you can remove this guy too?

Done.

https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/webd...
File chrome/browser/webdata/web_database_migration_unittest.cc (right):

https://chromiumcodereview.appspot.com/10227014/diff/4009/chrome/browser/webd...
chrome/browser/webdata/web_database_migration_unittest.cc:229:
EXPECT_FALSE(connection.DoesTableExist("logins"));  // This one is obsolete.
On 2012/04/26 19:44:49, Lei Zhang wrote:
> You may want to put a short explanation here to explain what the table did.

Done.

Powered by Google App Engine
This is Rietveld 408576698