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

Unified Diff: components/test/data/password_manager/login_db_v10.sql

Issue 2291123008: Test that LoginDatabase preserves PasswordForm::Scheme through migration (Closed)
Patch Set: Add comment Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/test/data/password_manager/login_db_v10.sql
diff --git a/components/test/data/password_manager/login_db_v10.sql b/components/test/data/password_manager/login_db_v10.sql
index 361701658508b70be3b317d02e55b3b8d7177beb..b5318ca31bfad9c6ad5ce8e940b3a911b7340e8f 100644
--- a/components/test/data/password_manager/login_db_v10.sql
+++ b/components/test/data/password_manager/login_db_v10.sql
@@ -38,6 +38,30 @@ X'', /* password_value */
'https://accounts.google.com/', /* signon_realm */
1, /* ssl_valid */
1, /* preferred */
+13047423600000000, /* date_created */
+0, /* blacklisted_by_user */
+0, /* scheme */
+0, /* password_type */
+X'00000000', /* possible_usernames */
+1, /* times_used */
+X'18000000020000000000000000000000000000000000000000000000', /* form_data */
+0, /* date_synced */
+'', /* display_name */
+'https://www.google.com/icon', /* avatar_url */
+'', /* federation_url */
+0 /* is_zero_click */
+);
+INSERT INTO "logins" VALUES(
+'https://accounts.google.com/ServiceLogin', /* origin_url */
+'https://accounts.google.com/ServiceLoginAuth', /* action_url */
+'Email', /* username_element */
+'theerikchen', /* username_value */
+'Passwd', /* password_element */
+X'', /* password_value */
+'non-empty', /* submit_element */
+'https://accounts.google.com/', /* signon_realm */
+1, /* ssl_valid */
+1, /* preferred */
13047429345000000, /* date_created */
0, /* blacklisted_by_user */
0, /* scheme */
@@ -55,7 +79,7 @@ INSERT INTO "logins" VALUES(
'https://accounts.google.com/ServiceLogin', /* origin_url */
'https://accounts.google.com/ServiceLoginAuth', /* action_url */
'Email', /* username_element */
-'theerikchen', /* username_value */
+'theerikchen2', /* username_value */
'Passwd', /* password_element */
X'', /* password_value */
'non-empty', /* submit_element */
@@ -75,5 +99,29 @@ X'18000000020000000000000000000000000000000000000000000000', /* form_data */
'', /* federation_url */
0 /* is_zero_click */
);
+INSERT INTO "logins" VALUES(
+'http://example.com', /* origin_url */
+'http://example.com/landing', /* action_url */
+'', /* username_element */
+'user', /* username_value */
+'', /* password_element */
+X'', /* password_value */
+'non-empty', /* submit_element */
+'http://example.com', /* signon_realm */
+1, /* ssl_valid */
+1, /* preferred */
+13047423600000000, /* date_created */
+0, /* blacklisted_by_user */
+1, /* scheme */
+0, /* password_type */
+X'00000000', /* possible_usernames */
+1, /* times_used */
+X'18000000020000000000000000000000000000000000000000000000', /* form_data */
+0, /* date_synced */
+'', /* display_name */
+'https://www.google.com/icon', /* avatar_url */
+'', /* federation_url */
+0 /* is_zero_click */
+);
CREATE INDEX logins_signon ON logins (signon_realm);
COMMIT;
« no previous file with comments | « components/test/data/password_manager/login_db_v1.sql ('k') | components/test/data/password_manager/login_db_v11.sql » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698