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

Unified Diff: chrome/browser/history/android/android_cache_database_unittest.cc

Issue 10870029: Remove legacy migration code that coupled history and bookmarks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More android fixes. Created 8 years, 4 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/DEPS ('k') | chrome/browser/history/android/android_provider_backend_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/history/android/android_cache_database_unittest.cc
diff --git a/chrome/browser/history/android/android_cache_database_unittest.cc b/chrome/browser/history/android/android_cache_database_unittest.cc
index 104bef895e49581c6ad61fb0b3decb3600a7db0e..89f7505c8d6be70b9f4aba63758016f6e603321b 100644
--- a/chrome/browser/history/android/android_cache_database_unittest.cc
+++ b/chrome/browser/history/android/android_cache_database_unittest.cc
@@ -31,8 +31,7 @@ class AndroidCacheDatabaseTest : public testing::Test {
FilePath history_db_name_ = temp_dir_.path().AppendASCII("history.db");
android_cache_db_name_ = temp_dir_.path().AppendASCII(
"TestAndroidCache.db");
- ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_,
- temp_dir_.path()));
+ ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
ASSERT_EQ(sql::INIT_OK,
history_db_.InitAndroidCacheDatabase(android_cache_db_name_));
}
@@ -50,7 +49,7 @@ TEST(AndroidCacheDatabaseAttachTest, AttachDatabaseInTransactionNesting) {
FilePath history_db_name = temp_dir.path().AppendASCII("history.db");
android_cache_db_name = temp_dir.path().AppendASCII(
"TestAndroidCache.db");
- ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name, temp_dir.path()));
+ ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name));
// Create nested transactions.
history_db.BeginTransaction();
history_db.BeginTransaction();
« no previous file with comments | « chrome/browser/history/DEPS ('k') | chrome/browser/history/android/android_provider_backend_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698