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

Issue 10829139: Add parsers for Drive v2 Change/ChangeList/Parents (Closed)

Created:
8 years, 4 months ago by kochi
Modified:
8 years, 4 months ago
Reviewers:
satorux1
CC:
chromium-reviews, achuith+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, nkostylev+watch_chromium.org, davemoore+watch_chromium.org, Daniel Erat
Visibility:
Public.

Description

Add parsers for Drive v2 Change/ChangeList/Parents Parent means a folder containing a file in Drive v2 API. If a file does not contain any reference to its parent, it should be interpreted as the file is under the root directory. Changed existing unit test for checking the case that parent is missing. BUG=chromium:127728 TEST=unit_tests --gtest_filter="DriveAPIParserTest.*" Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149768

Patch Set 1 : . #

Total comments: 5

Patch Set 2 : Added class comments. #

Total comments: 1

Patch Set 3 : add blank line between accessor methods. #

Patch Set 4 : Fix uninitialized member #

Unified diffs Side-by-side diffs Delta from patch set Stats (+488 lines, -11 lines) Patch
M chrome/browser/chromeos/gdata/drive_api_parser.h View 1 2 7 chunks +137 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/drive_api_parser.cc View 1 2 3 6 chunks +130 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/drive_api_parser_unittest.cc View 2 chunks +45 lines, -0 lines 0 comments Download
A chrome/test/data/chromeos/drive/changelist.json View 1 chunk +176 lines, -0 lines 0 comments Download
M chrome/test/data/chromeos/drive/filelist.json View 1 chunk +0 lines, -9 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
kochi
Hi Satoru, Could you review this CL? Thanks, http://codereview.chromium.org/10829139/diff/4001/chrome/test/data/chromeos/drive/filelist.json File chrome/test/data/chromeos/drive/filelist.json (left): http://codereview.chromium.org/10829139/diff/4001/chrome/test/data/chromeos/drive/filelist.json#oldcode86 chrome/test/data/chromeos/drive/filelist.json:86: ], ...
8 years, 4 months ago (2012-08-02 09:16:15 UTC) #1
satorux1
http://codereview.chromium.org/10829139/diff/4001/chrome/browser/chromeos/gdata/drive_api_parser.h File chrome/browser/chromeos/gdata/drive_api_parser.h (right): http://codereview.chromium.org/10829139/diff/4001/chrome/browser/chromeos/gdata/drive_api_parser.h#newcode412 chrome/browser/chromeos/gdata/drive_api_parser.h:412: class ChangeResource { class comment is missing. what is ...
8 years, 4 months ago (2012-08-02 16:41:51 UTC) #2
kochi
Thanks for the review. Comments and description updated. http://chromiumcodereview.appspot.com/10829139/diff/4001/chrome/browser/chromeos/gdata/drive_api_parser.h File chrome/browser/chromeos/gdata/drive_api_parser.h (right): http://chromiumcodereview.appspot.com/10829139/diff/4001/chrome/browser/chromeos/gdata/drive_api_parser.h#newcode412 chrome/browser/chromeos/gdata/drive_api_parser.h:412: class ...
8 years, 4 months ago (2012-08-02 17:16:47 UTC) #3
satorux1
LGTM with a nit http://codereview.chromium.org/10829139/diff/5002/chrome/browser/chromeos/gdata/drive_api_parser.h File chrome/browser/chromeos/gdata/drive_api_parser.h (right): http://codereview.chromium.org/10829139/diff/5002/chrome/browser/chromeos/gdata/drive_api_parser.h#newcode429 chrome/browser/chromeos/gdata/drive_api_parser.h:429: int64 change_id() const { return ...
8 years, 4 months ago (2012-08-02 19:39:18 UTC) #4
kochi
8 years, 4 months ago (2012-08-03 01:01:53 UTC) #5
Thanks.
Comment addressed and fixed uninitialized member
(valgrind check).
I'll be submitting soon.

Powered by Google App Engine
This is Rietveld 408576698