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

Unified Diff: chrome/browser/password_manager/login_database_unittest.cc

Issue 10578017: Test GURL::spec() usage changes with DEPS rolled to the new version. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More fixes Created 8 years, 6 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
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/password_manager/login_database_unittest.cc
diff --git a/chrome/browser/password_manager/login_database_unittest.cc b/chrome/browser/password_manager/login_database_unittest.cc
index d2486a2d71eb81145ae7aba4aac67362cc74d0d8..cbc6e0c74fe7870d8d86a9d8c7633a7cf581439b 100644
--- a/chrome/browser/password_manager/login_database_unittest.cc
+++ b/chrome/browser/password_manager/login_database_unittest.cc
@@ -205,11 +205,11 @@ TEST_F(LoginDatabaseTest, ClearPrivateData_SavedPasswords) {
base::TimeDelta one_day = base::TimeDelta::FromDays(1);
// Create one with a 0 time.
- EXPECT_TRUE(AddTimestampedLogin(db.get(), "1", "foo1", base::Time()));
+ EXPECT_TRUE(AddTimestampedLogin(db.get(), "http://1", "foo1", base::Time()));
// Create one for now and +/- 1 day.
- EXPECT_TRUE(AddTimestampedLogin(db.get(), "2", "foo2", now - one_day));
- EXPECT_TRUE(AddTimestampedLogin(db.get(), "3", "foo3", now));
- EXPECT_TRUE(AddTimestampedLogin(db.get(), "4", "foo4", now + one_day));
+ EXPECT_TRUE(AddTimestampedLogin(db.get(), "http://2", "foo2", now - one_day));
+ EXPECT_TRUE(AddTimestampedLogin(db.get(), "http://3", "foo3", now));
+ EXPECT_TRUE(AddTimestampedLogin(db.get(), "http://4", "foo4", now + one_day));
// Verify inserts worked.
EXPECT_TRUE(db->GetAutofillableLogins(&result));
« no previous file with comments | « chrome/browser/history/history_unittest.cc ('k') | chrome/browser/search_engines/template_url_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698