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

Issue 10837148: gdata: Add GetEntryInfoByPath() and ReadDirectoryByPath() to GDataDirectoryService (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: Add GetEntryInfoByPath() and ReadDirectoryByPath() to GDataDirectoryService These are asynchronous functions that'll replace FindEntryByPathSync(). BUG=137160 TEST=added unit tests; no behavior change. these functions are unused yet. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=150567

Patch Set 1 #

Total comments: 14

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : rebase #

Patch Set 4 : fix #

Patch Set 5 : fix_check_failures_in_tests #

Patch Set 6 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+251 lines, -44 lines) Patch
M chrome/browser/chromeos/gdata/gdata_file_system.h View 1 2 3 4 5 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system.cc View 1 2 3 4 5 4 chunks +7 lines, -20 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_file_system_interface.h View 1 2 3 4 5 3 chunks +9 lines, -13 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_files.h View 1 2 3 4 5 3 chunks +29 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_files.cc View 1 2 3 4 5 2 chunks +67 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_files_unittest.cc View 1 2 3 4 8 chunks +91 lines, -7 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_test_util.h View 2 chunks +20 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/gdata_test_util.cc View 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/gdata/mock_gdata_file_system.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
satorux1
8 years, 4 months ago (2012-08-07 20:25:29 UTC) #1
achuithb
https://chromiumcodereview.appspot.com/10837148/diff/1/chrome/browser/chromeos/gdata/gdata_files.cc File chrome/browser/chromeos/gdata/gdata_files.cc (right): https://chromiumcodereview.appspot.com/10837148/diff/1/chrome/browser/chromeos/gdata/gdata_files.cc#newcode697 chrome/browser/chromeos/gdata/gdata_files.cc:697: if (!callback.is_null()) { Should this be a DCHECK? You ...
8 years, 4 months ago (2012-08-07 20:46:06 UTC) #2
satorux1
http://codereview.chromium.org/10837148/diff/1/chrome/browser/chromeos/gdata/gdata_files.cc File chrome/browser/chromeos/gdata/gdata_files.cc (right): http://codereview.chromium.org/10837148/diff/1/chrome/browser/chromeos/gdata/gdata_files.cc#newcode697 chrome/browser/chromeos/gdata/gdata_files.cc:697: if (!callback.is_null()) { On 2012/08/07 20:46:07, achuith.bhandarkar wrote: > ...
8 years, 4 months ago (2012-08-07 21:13:20 UTC) #3
achuithb
lgtm http://codereview.chromium.org/10837148/diff/6003/chrome/browser/chromeos/gdata/gdata_files.cc File chrome/browser/chromeos/gdata/gdata_files.cc (right): http://codereview.chromium.org/10837148/diff/6003/chrome/browser/chromeos/gdata/gdata_files.cc#newcode714 chrome/browser/chromeos/gdata/gdata_files.cc:714: GDataDirectory* directory = entry->AsGDataDirectory(); nit: Is this temporary ...
8 years, 4 months ago (2012-08-07 21:39:20 UTC) #4
satorux1
8 years, 4 months ago (2012-08-07 22:57:05 UTC) #5
http://codereview.chromium.org/10837148/diff/6003/chrome/browser/chromeos/gda...
File chrome/browser/chromeos/gdata/gdata_files.cc (right):

http://codereview.chromium.org/10837148/diff/6003/chrome/browser/chromeos/gda...
chrome/browser/chromeos/gdata/gdata_files.cc:714: GDataDirectory* directory =
entry->AsGDataDirectory();
On 2012/08/07 21:39:20, achuith.bhandarkar wrote:
> nit: Is this temporary necessary?

Good catch. no longer needed.

Powered by Google App Engine
This is Rietveld 408576698