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

Issue 11143014: Add request header on gdata operation for testing ETag match. (Closed)

Created:
8 years, 2 months ago by tzik
Modified:
8 years, 1 month ago
Reviewers:
satorux1, kochi
CC:
chromium-reviews, achuith+watch_chromium.org, kinuko+watch
Visibility:
Public.

Description

Add request header on gdata operation for testing ETag match. The ETag is used to perform revision check and a operation atomically. BUG=156037 TEST='existing drive tests'

Patch Set 1 #

Patch Set 2 : build fix & test fix #

Total comments: 17

Patch Set 3 : +// ETag & fix comment #

Patch Set 4 : revert FilePath change #

Patch Set 5 : rebase #

Total comments: 16

Patch Set 6 : +comment #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+153 lines, -51 lines) Patch
M chrome/browser/chromeos/drive/drive_api_service.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_api_service.cc View 1 3 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system_unittest.cc View 1 10 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_uploader.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_uploader.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/chromeos/drive/file_system/remove_operation.cc View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/mock_drive_service.h View 1 5 chunks +9 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/drive/mock_drive_service.cc View 1 5 chunks +6 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/extensions/external_filesystem_apitest.cc View 1 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/google_apis/drive_service_interface.h View 1 2 3 4 5 3 chunks +11 lines, -4 lines 3 comments Download
M chrome/browser/google_apis/gdata_operations.h View 1 2 3 4 5 9 chunks +31 lines, -5 lines 4 comments Download
M chrome/browser/google_apis/gdata_operations.cc View 1 2 3 4 5 8 chunks +55 lines, -19 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service.cc View 1 4 chunks +7 lines, -2 lines 0 comments Download
M chrome/browser/google_apis/gdata_wapi_service_browsertest.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
tzik
Hi, Kochi-san. I'd like to use GDataWapiService with ETag match to handle conflict on upload/download. ...
8 years, 2 months ago (2012-10-15 13:55:45 UTC) #1
kochi
Initial round of comments. Could you also update the description to update the intention of ...
8 years, 2 months ago (2012-10-16 05:04:58 UTC) #2
tzik
Thanks, Kochi-san. Updated. http://codereview.chromium.org/11143014/diff/1001/chrome/browser/chromeos/drive/drive_file_system.cc File chrome/browser/chromeos/drive/drive_file_system.cc (right): http://codereview.chromium.org/11143014/diff/1001/chrome/browser/chromeos/drive/drive_file_system.cc#newcode1562 chrome/browser/chromeos/drive/drive_file_system.cc:1562: std::string(), On 2012/10/16 05:04:58, Takayoshi Kochi ...
8 years, 2 months ago (2012-10-16 05:48:04 UTC) #3
kochi
http://codereview.chromium.org/11143014/diff/1001/chrome/browser/google_apis/gdata_operations.h File chrome/browser/google_apis/gdata_operations.h (right): http://codereview.chromium.org/11143014/diff/1001/chrome/browser/google_apis/gdata_operations.h#newcode356 chrome/browser/google_apis/gdata_operations.h:356: FilePath virtual_path; On 2012/10/16 05:48:05, tzik wrote: > On ...
8 years, 2 months ago (2012-10-16 06:31:21 UTC) #4
tzik
http://codereview.chromium.org/11143014/diff/1001/chrome/browser/google_apis/gdata_operations.h File chrome/browser/google_apis/gdata_operations.h (right): http://codereview.chromium.org/11143014/diff/1001/chrome/browser/google_apis/gdata_operations.h#newcode356 chrome/browser/google_apis/gdata_operations.h:356: FilePath virtual_path; On 2012/10/16 06:31:21, Takayoshi Kochi wrote: > ...
8 years, 2 months ago (2012-10-16 06:46:17 UTC) #5
kochi
LGTM, thanks!
8 years, 2 months ago (2012-10-16 08:17:00 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tzik@chromium.org/11143014/11017
8 years, 2 months ago (2012-10-16 09:00:55 UTC) #7
commit-bot: I haz the power
Presubmit check for 11143014-11017 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 2 months ago (2012-10-16 09:01:03 UTC) #8
tzik
On 2012/10/16 08:17:00, Takayoshi Kochi wrote: > LGTM, thanks! Thanks! I pushed it to CQ.
8 years, 2 months ago (2012-10-16 09:01:40 UTC) #9
tzik
Satoru-san, could you take a look as OWNERS of chromeos/extensions?
8 years, 2 months ago (2012-10-16 09:04:29 UTC) #10
satorux1
http://codereview.chromium.org/11143014/diff/9002/chrome/browser/google_apis/drive_service_interface.h File chrome/browser/google_apis/drive_service_interface.h (right): http://codereview.chromium.org/11143014/diff/9002/chrome/browser/google_apis/drive_service_interface.h#newcode149 chrome/browser/google_apis/drive_service_interface.h:149: // Upon completion, invokes |callback| with results on the ...
8 years, 2 months ago (2012-10-17 01:00:38 UTC) #11
tzik
Thanks! Updated! http://codereview.chromium.org/11143014/diff/9002/chrome/browser/google_apis/drive_service_interface.h File chrome/browser/google_apis/drive_service_interface.h (right): http://codereview.chromium.org/11143014/diff/9002/chrome/browser/google_apis/drive_service_interface.h#newcode149 chrome/browser/google_apis/drive_service_interface.h:149: // Upon completion, invokes |callback| with results ...
8 years, 2 months ago (2012-10-17 02:44:44 UTC) #12
satorux1
Thank you for improving the existing poorly written comments! http://codereview.chromium.org/11143014/diff/22002/chrome/browser/google_apis/drive_service_interface.h File chrome/browser/google_apis/drive_service_interface.h (right): http://codereview.chromium.org/11143014/diff/22002/chrome/browser/google_apis/drive_service_interface.h#newcode149 chrome/browser/google_apis/drive_service_interface.h:149: ...
8 years, 2 months ago (2012-10-17 03:14:27 UTC) #13
satorux1
8 years, 2 months ago (2012-10-24 02:28:58 UTC) #14
ping

Powered by Google App Engine
This is Rietveld 408576698