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

Issue 10873005: Rename GDataDirectoryService to DriveResourceMetadata (Closed)

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

Description

Rename GDataDirectoryService to DriveResourceMetadata In this CL, following changes are included: * gdata_directory_service.{h,cc} has been renamed to drive_resource_metadata.{h,cc} * GDataDirectoryService has been renamed to DriveResourceMetadata * kGDataRootDirectory, kGDataRootDirectoryResourceId have been renamed to kDriveRootDirectory, kDriveRootDirectoryResourceId. More GData* to Drive* conversion CLs will follow. BUG=137151, 143523 TEST=pass all existing tests TBR=satorux@chromium.org, estade@chromium.org, ben@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=152763

Patch Set 1 #

Patch Set 2 : Rename kGDataRootDirectory* as well #

Patch Set 3 : DriveDirectoryService to DriveResourceMetadata #

Total comments: 25

Patch Set 4 : Fix for Achuith's comments. #

Patch Set 5 : rebase. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+360 lines, -1989 lines) Patch
M chrome/browser/chromeos/gdata/drive_files.h View 1 2 3 9 chunks +16 lines, -16 lines 0 comments Download
M chrome/browser/chromeos/gdata/drive_files.cc View 1 2 3 13 chunks +33 lines, -33 lines 0 comments Download
A + chrome/browser/chromeos/gdata/drive_resource_metadata.h View 1 2 3 7 chunks +12 lines, -12 lines 0 comments Download
A + chrome/browser/chromeos/gdata/drive_resource_metadata.cc View 1 2 3 31 chunks +55 lines, -55 lines 0 comments Download
A + chrome/browser/chromeos/gdata/drive_resource_metadata_unittest.cc View 1 2 20 chunks +103 lines, -103 lines 0 comments Download
D chrome/browser/chromeos/gdata/gdata_directory_service.h View 1 chunk +0 lines, -332 lines 0 comments Download
D chrome/browser/chromeos/gdata/gdata_directory_service.cc View 1 chunk +0 lines, -760 lines 0 comments Download
D chrome/browser/chromeos/gdata/gdata_directory_service_unittest.cc View 1 chunk +0 lines, -535 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_download_observer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 50 chunks +65 lines, -65 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_interface.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_proxy.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc View 1 4 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_protocol_handler.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_test_util.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_uploader.cc View 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.h View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_loader.cc View 1 2 10 chunks +22 lines, -22 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.h View 1 2 3 4 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_wapi_feed_processor.cc View 1 2 3 11 chunks +24 lines, -24 lines 0 comments Download
M chrome/browser/ui/webui/chromeos/drive_internals_ui.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/webui/screenshot_source.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 17 (0 generated)
kochi
Hi Kazuhiro, Could you review this? Thanks!
8 years, 4 months ago (2012-08-22 05:40:56 UTC) #1
kinaba
lgtm, assuming the tests pass.
8 years, 4 months ago (2012-08-22 05:55:47 UTC) #2
kochi
On 2012/08/22 05:55:47, kinaba wrote: > lgtm, assuming the tests pass. Added kGDataRootDirectory* renaming. Could ...
8 years, 4 months ago (2012-08-22 06:18:35 UTC) #3
kinaba
Still lgtm.
8 years, 4 months ago (2012-08-22 06:23:32 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/10873005/3001
8 years, 4 months ago (2012-08-22 07:09:25 UTC) #5
commit-bot: I haz the power
Presubmit check for 10873005-3001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 4 months ago (2012-08-22 07:09:36 UTC) #6
kochi
Added TBR= line, satorux for chrome/browser/ui/webui/chromeos/* estade for chrome/browser/ui/screenshot_source.h ben for chrome/*.gypi
8 years, 4 months ago (2012-08-22 07:20:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/10873005/3001
8 years, 4 months ago (2012-08-22 07:21:03 UTC) #8
achuithb
Sorry for stopping the commit queue. http://crbug.com/143523 I guess Satoru-san doesn't like DirectoryService. Let's go ...
8 years, 4 months ago (2012-08-22 08:31:01 UTC) #9
kochi
Hi Achuith, Does this look good to you?
8 years, 4 months ago (2012-08-22 09:12:35 UTC) #10
achuithb
Let's update the comments, at least the ones I've noted. Some other minor changes requested. ...
8 years, 4 months ago (2012-08-22 09:41:06 UTC) #11
kochi
Thanks for the review! https://chromiumcodereview.appspot.com/10873005/diff/11006/chrome/browser/chromeos/gdata/drive_files.h File chrome/browser/chromeos/gdata/drive_files.h (right): https://chromiumcodereview.appspot.com/10873005/diff/11006/chrome/browser/chromeos/gdata/drive_files.h#newcode143 chrome/browser/chromeos/gdata/drive_files.h:143: // may have an extra ...
8 years, 4 months ago (2012-08-22 10:04:56 UTC) #12
kochi
Oops, updated the subject to match the change.
8 years, 4 months ago (2012-08-22 10:41:17 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kochi@chromium.org/10873005/2008
8 years, 4 months ago (2012-08-22 10:41:32 UTC) #14
commit-bot: I haz the power
Try job failure for 10873005-2008 (retry) on win for step "compile" (clobber build). It's a ...
8 years, 4 months ago (2012-08-22 12:20:08 UTC) #15
Ben Goodger (Google)
lgtm for gypi
8 years, 4 months ago (2012-08-22 16:02:46 UTC) #16
achuithb
8 years, 4 months ago (2012-08-22 21:23:19 UTC) #17
lgtm. 

Thanks!

https://chromiumcodereview.appspot.com/10873005/diff/11006/chrome/browser/chr...
File chrome/browser/chromeos/gdata/gdata_file_system_interface.h (right):

https://chromiumcodereview.appspot.com/10873005/diff/11006/chrome/browser/chr...
chrome/browser/chromeos/gdata/gdata_file_system_interface.h:12: #include
"chrome/browser/chromeos/gdata/drive_resource_metadata.h"
On 2012/08/22 10:04:56, Takayoshi Kochi wrote:
> On 2012/08/22 09:41:06, achuith.bhandarkar wrote:
> > what is this used for?
> 
> This source uses "enum DriveFileType".
> Maybe we can move the definition to some other proper header
> later.

Maybe we can move the typedefs and the enum to a smaller header to improve build
times.

Powered by Google App Engine
This is Rietveld 408576698