summaryrefslogtreecommitdiffstats
path: root/google_apis
diff options
context:
space:
mode:
authoryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 17:25:38 +0000
committeryoshiki@chromium.org <yoshiki@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-13 17:25:38 +0000
commit101778571bcd766bef921a798818df963a1f3255 (patch)
treefcc1fe1997d7f7be71fee2a34b326562c5a606cf /google_apis
parenta17a7832acaa17c90e102a60541bddcbfddbeed6 (diff)
downloadchromium_src-101778571bcd766bef921a798818df963a1f3255.zip
chromium_src-101778571bcd766bef921a798818df963a1f3255.tar.gz
chromium_src-101778571bcd766bef921a798818df963a1f3255.tar.bz2
[Drive] Cache an about resource to prevent frequent requests
Files.app used to send requests for getting "about resource" to the drive API server very frequently. To prevent it, we cache the fetched about resource and use it when possible. BUG=314994 TEST=manually tested Review URL: https://codereview.chromium.org/110643003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240688 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'google_apis')
-rw-r--r--google_apis/drive/drive_api_parser.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/google_apis/drive/drive_api_parser.h b/google_apis/drive/drive_api_parser.h
index 2ee230d..ef02035 100644
--- a/google_apis/drive/drive_api_parser.h
+++ b/google_apis/drive/drive_api_parser.h
@@ -78,7 +78,7 @@ class AboutResource {
int64 quota_bytes_used_;
std::string root_folder_id_;
- DISALLOW_COPY_AND_ASSIGN(AboutResource);
+ // This class is copyable on purpose.
};
// DriveAppIcon represents an icon for Drive Application.