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

Issue 9742002: Wired GDataFileSystem::GetFile() method with internal cache. (Closed)

Created:
8 years, 9 months ago by zel
Modified:
8 years, 9 months ago
Reviewers:
satorux1, kuan
CC:
chromium-reviews, achuith+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org
Visibility:
Public.

Description

Wired GDataFileSystem::GetFile() method with internal cache. BUG=chromium-os:27686 TEST=GDataFileSystemTest.GetFileFromCache, GDataFileSystemTest.GetFileFromDownloads, Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=127691

Patch Set 1 #

Total comments: 14

Patch Set 2 : review updates #

Total comments: 9

Patch Set 3 : unit tests added #

Total comments: 2

Patch Set 4 : review updates #

Patch Set 5 : review updates #

Patch Set 6 : fixed browser tests #

Patch Set 7 : merge updates #

Patch Set 8 : merge updates #

Patch Set 9 : merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+295 lines, -66 lines) Patch
M chrome/browser/chromeos/gdata/gdata_documents_service.h View 1 2 3 4 5 6 4 chunks +9 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_documents_service.cc View 1 2 3 4 5 6 2 chunks +4 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_documents_service_browsertest.cc View 1 2 3 4 5 6 4 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 4 5 6 7 8 9 chunks +62 lines, -9 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 6 7 12 chunks +124 lines, -29 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc View 1 2 3 4 5 6 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 2 3 4 5 6 6 chunks +59 lines, -8 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.h View 2 chunks +3 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_operations.cc View 1 3 chunks +11 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_documents_service.h View 1 2 3 4 5 6 4 chunks +6 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_documents_service.cc View 1 2 3 4 5 6 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_file_system.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 11 (0 generated)
zel
first cut, still playing with tests
8 years, 9 months ago (2012-03-20 02:20:50 UTC) #1
kuan
http://codereview.chromium.org/9742002/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/9742002/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode1044 chrome/browser/chromeos/gdata/gdata_file_system.cc:1044: false /* is_local */); nit: align "false" with "resource_id" ...
8 years, 9 months ago (2012-03-20 03:22:19 UTC) #2
zel
https://chromiumcodereview.appspot.com/9742002/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): https://chromiumcodereview.appspot.com/9742002/diff/1/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode1044 chrome/browser/chromeos/gdata/gdata_file_system.cc:1044: false /* is_local */); On 2012/03/20 03:22:19, kuan wrote: ...
8 years, 9 months ago (2012-03-20 04:31:17 UTC) #3
satorux1
http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.cc File chrome/browser/chromeos/gdata/gdata_file_system.cc (right): http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode199 chrome/browser/chromeos/gdata/gdata_file_system.cc:199: nit: remove the blank line. http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.cc#newcode1044 chrome/browser/chromeos/gdata/gdata_file_system.cc:1044: false /* ...
8 years, 9 months ago (2012-03-20 04:51:17 UTC) #4
kuan
lgtm, just nit in unittest. https://chromiumcodereview.appspot.com/9742002/diff/8002/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc File chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc (right): https://chromiumcodereview.appspot.com/9742002/diff/8002/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc#newcode1555 chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc:1555: message_loop_.RunAllPending(); // Wait to ...
8 years, 9 months ago (2012-03-20 05:22:27 UTC) #5
zel
I've also added new unit tests for testing cached and non-cached GetFile() calls. http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.cc File ...
8 years, 9 months ago (2012-03-20 05:24:24 UTC) #6
zel
http://codereview.chromium.org/9742002/diff/8002/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc File chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc (right): http://codereview.chromium.org/9742002/diff/8002/chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc#newcode1555 chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc:1555: message_loop_.RunAllPending(); // Wait to get our result. On 2012/03/20 ...
8 years, 9 months ago (2012-03-20 05:27:20 UTC) #7
satorux1
LGTM. I like the new enum! http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.h File chrome/browser/chromeos/gdata/gdata_file_system.h (right): http://codereview.chromium.org/9742002/diff/4001/chrome/browser/chromeos/gdata/gdata_file_system.h#newcode278 chrome/browser/chromeos/gdata/gdata_file_system.h:278: GURL* content_url); On ...
8 years, 9 months ago (2012-03-20 05:35:14 UTC) #8
satorux1
LGTM. I like the new enum!
8 years, 9 months ago (2012-03-20 05:35:16 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/zelidrag@chromium.org/9742002/4025
8 years, 9 months ago (2012-03-20 07:27:39 UTC) #10
commit-bot: I haz the power
8 years, 9 months ago (2012-03-20 07:51:10 UTC) #11
Try job failure for 9742002-4025 (retry) on linux_chromeos for step "compile"
(clobber build).
It's a second try, previously, step "compile" failed.
http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_chro...

Powered by Google App Engine
This is Rietveld 408576698