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

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

Issue 10198003: gdata: Get rid of GetGDataCacheTmpDirectory() and friends (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years, 8 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.cc
diff --git a/chrome/browser/chromeos/gdata/gdata_sync_client.cc b/chrome/browser/chromeos/gdata/gdata_sync_client.cc
index 590632066931670576e607d3e5f15fd87ad5d634..90f95cde242ce3e3c622934cf2ba137cc1df0c7b 100644
--- a/chrome/browser/chromeos/gdata/gdata_sync_client.cc
+++ b/chrome/browser/chromeos/gdata/gdata_sync_client.cc
@@ -106,7 +106,8 @@ void GDataSyncClient::StartInitialScan(const base::Closure& closure) {
BrowserThread::GetBlockingPool()->PostTaskAndReply(
FROM_HERE,
base::Bind(&ScanPinnedDirectory,
- file_system_->GetGDataCachePinnedDirectory(),
+ file_system_->GetCacheDirectoryPath(
+ GDataRootDirectory::CACHE_TYPE_PINNED),
resource_ids),
base::Bind(&GDataSyncClient::OnInitialScanComplete,
weak_ptr_factory_.GetWeakPtr(),
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.cc ('k') | chrome/browser/chromeos/gdata/gdata_sync_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698