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

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

Issue 2317003002: //chrome/browser and //components F-L: Change ScopedTempDir::path() to GetPath() (Closed)
Patch Set: Just rebased 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: 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 8d51ffa8b9f25dc48b23189b730b6145aca264cc..e37a93db95e854ff4b5247099bfd854808687ca2 100644
--- a/chrome/browser/history/android/android_cache_database_unittest.cc
+++ b/chrome/browser/history/android/android_cache_database_unittest.cc
@@ -28,9 +28,9 @@ class AndroidCacheDatabaseTest : public testing::Test {
// Get a temporary directory for the test DB files.
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
base::FilePath history_db_name_ =
- temp_dir_.path().AppendASCII("history.db");
- android_cache_db_name_ = temp_dir_.path().AppendASCII(
- "TestAndroidCache.db");
+ temp_dir_.GetPath().AppendASCII("history.db");
+ android_cache_db_name_ =
+ temp_dir_.GetPath().AppendASCII("TestAndroidCache.db");
ASSERT_EQ(sql::INIT_OK, history_db_.Init(history_db_name_));
ASSERT_EQ(sql::INIT_OK,
history_db_.InitAndroidCacheDatabase(android_cache_db_name_));
@@ -46,9 +46,8 @@ TEST(AndroidCacheDatabaseAttachTest, AttachDatabaseInTransactionNesting) {
base::FilePath android_cache_db_name;
TestHistoryDatabase history_db;
ASSERT_TRUE(temp_dir.CreateUniqueTempDir());
- base::FilePath history_db_name = temp_dir.path().AppendASCII("history.db");
- android_cache_db_name = temp_dir.path().AppendASCII(
- "TestAndroidCache.db");
+ base::FilePath history_db_name = temp_dir.GetPath().AppendASCII("history.db");
+ android_cache_db_name = temp_dir.GetPath().AppendASCII("TestAndroidCache.db");
ASSERT_EQ(sql::INIT_OK, history_db.Init(history_db_name));
// Create nested transactions.
history_db.BeginTransaction();
« no previous file with comments | « chrome/browser/file_select_helper_unittest.cc ('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