summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorsatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-16 07:42:28 +0000
committersatorux@chromium.org <satorux@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-16 07:42:28 +0000
commit869f7afc5eec63c0dd944ee3d6053cce9292e429 (patch)
treec49840bd294a0fbf006ed6a3c91ab2629025f8db /chrome
parent9a346c073c1a1826bd599790dc539c03c8d80935 (diff)
downloadchromium_src-869f7afc5eec63c0dd944ee3d6053cce9292e429.zip
chromium_src-869f7afc5eec63c0dd944ee3d6053cce9292e429.tar.gz
chromium_src-869f7afc5eec63c0dd944ee3d6053cce9292e429.tar.bz2
drive: Re-enable Drive metadata prefetching
Drive metadata prefetching was disabled in crrev.com/160812 to stabilize M23. We should re-enable this in M24. BUG=154763 TEST=log in using a new account on the device; wait for a minute or so; open Files.app and click on Drive; confirm that files on Drive are shown immediately. Review URL: https://chromiumcodereview.appspot.com/11148037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162096 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/chromeos/drive/drive_system_service.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/browser/chromeos/drive/drive_system_service.cc b/chrome/browser/chromeos/drive/drive_system_service.cc
index d4a0b2c..cb4c728 100644
--- a/chrome/browser/chromeos/drive/drive_system_service.cc
+++ b/chrome/browser/chromeos/drive/drive_system_service.cc
@@ -225,6 +225,9 @@ void DriveSystemService::OnCacheInitialized(bool success) {
DriveCache::CACHE_TYPE_TMP_DOWNLOADS));
AddDriveMountPoint();
+
+ // Start prefetching of Drive metadata.
+ file_system_->StartInitialFeedFetch();
}
//===================== DriveSystemServiceFactory =============================