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

Issue 10857063: gdata: Remove logic to detect incompatibility proto (Closed)

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

Description

gdata: Remove logic to detect incompatibility proto The logic is no longer needed as we've been relying on the version number since crrev.com/147782. Along the way, remove tests for the logic, and make GDataEntry/GDataFile/GDataDirectory::FromProto() return void. It's a bit sad to see gdata_files_unittest.cc gone, but gdata_files.h/cc will also be removed in the near future anyway. BUG=141135 TEST=file manager works as before TBR=thakis@chromium.org for chrome_tests.gypi Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152175

Patch Set 1 #

Total comments: 2

Patch Set 2 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -257 lines) Patch
M chrome/browser/chromeos/gdata/gdata_directory_service.cc View 1 3 chunks +4 lines, -37 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_directory_service_unittest.cc View 1 chunk +0 lines, -151 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_files.h View 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_files.cc View 5 chunks +7 lines, -29 lines 0 comments Download
D chrome/browser/chromeos/gdata/gdata_files_unittest.cc View 1 chunk +0 lines, -36 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
satorux1
sorry for not doing this earlier.
8 years, 4 months ago (2012-08-17 22:19:42 UTC) #1
achuithb
Nice bit of cleanup! lgtm++ http://codereview.chromium.org/10857063/diff/1/chrome/browser/chromeos/gdata/gdata_files.h File chrome/browser/chromeos/gdata/gdata_files.h (right): http://codereview.chromium.org/10857063/diff/1/chrome/browser/chromeos/gdata/gdata_files.h#newcode67 chrome/browser/chromeos/gdata/gdata_files.h:67: // TODO(achuith,satorux): Should this ...
8 years, 4 months ago (2012-08-17 22:24:54 UTC) #2
satorux1
8 years, 4 months ago (2012-08-17 22:28:31 UTC) #3
http://codereview.chromium.org/10857063/diff/1/chrome/browser/chromeos/gdata/...
File chrome/browser/chromeos/gdata/gdata_files.h (right):

http://codereview.chromium.org/10857063/diff/1/chrome/browser/chromeos/gdata/...
chrome/browser/chromeos/gdata/gdata_files.h:67: // TODO(achuith,satorux): Should
this be virtual?
On 2012/08/17 22:24:55, achuith.bhandarkar wrote:
> I meant to ask you, should ToProto be virtual? I think it should be.

probably, but I guess it doesn't have to be as the code is working, and the code
will be gone not in the distant future anyway.

Powered by Google App Engine
This is Rietveld 408576698