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

Unified Diff: chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc

Issue 10877005: Rename GDataCache* to DriveCache* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. 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
Index: chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc b/chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc
index 06f05ef0f9313e869b225c76cf6495566d35f309..4d7233978b8a63b6288cd642cfe2b73462d7887c 100644
--- a/chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc
+++ b/chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc
@@ -79,7 +79,7 @@ class GDataSyncClientTest : public testing::Test {
// Initialize the sync client.
scoped_refptr<base::SequencedWorkerPool> pool =
content::BrowserThread::GetBlockingPool();
- cache_ = GDataCache::CreateGDataCacheOnUIThread(
+ cache_ = DriveCache::CreateDriveCacheOnUIThread(
temp_dir_.path(),
pool->GetSequencedTaskRunner(pool->GetSequenceToken()));
sync_client_.reset(new GDataSyncClient(profile_.get(),
@@ -159,15 +159,15 @@ class GDataSyncClientTest : public testing::Test {
void SetUpTestFiles() {
// Create a directory in the temporary directory for pinned symlinks.
const FilePath pinned_dir =
- cache_->GetCacheDirectoryPath(GDataCache::CACHE_TYPE_PINNED);
+ cache_->GetCacheDirectoryPath(DriveCache::CACHE_TYPE_PINNED);
ASSERT_TRUE(file_util::CreateDirectory(pinned_dir));
// Create a directory in the temporary directory for persistent files.
const FilePath persistent_dir =
- cache_->GetCacheDirectoryPath(GDataCache::CACHE_TYPE_PERSISTENT);
+ cache_->GetCacheDirectoryPath(DriveCache::CACHE_TYPE_PERSISTENT);
ASSERT_TRUE(file_util::CreateDirectory(persistent_dir));
// Create a directory in the temporary directory for outgoing symlinks.
const FilePath outgoing_dir =
- cache_->GetCacheDirectoryPath(GDataCache::CACHE_TYPE_OUTGOING);
+ cache_->GetCacheDirectoryPath(DriveCache::CACHE_TYPE_OUTGOING);
ASSERT_TRUE(file_util::CreateDirectory(outgoing_dir));
// Create a symlink in the pinned directory to /dev/null.
@@ -284,7 +284,7 @@ class GDataSyncClientTest : public testing::Test {
ScopedTempDir temp_dir_;
scoped_ptr<TestingProfile> profile_;
scoped_ptr<StrictMock<MockGDataFileSystem> > mock_file_system_;
- GDataCache* cache_;
+ DriveCache* cache_;
scoped_ptr<GDataSyncClient> sync_client_;
chromeos::MockNetworkLibrary* mock_network_library_;
scoped_ptr<chromeos::Network> active_network_;
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_sync_client.cc ('k') | chrome/browser/chromeos/gdata/gdata_system_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698