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

Issue 13456002: drive: Fills no-parent entiries in "/drive/other". (Closed)

Created:
7 years, 8 months ago by Haruki Sato
Modified:
7 years, 8 months ago
Reviewers:
hidehiko, kinaba
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

drive: Fills no-parent entiries in "/drive/other". BUG=174233 TEST=unittests. Open Files App and verify Google Drive is available. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=192583

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a comment in ConvertResourceEntryToDriveEntryProto(). #

Total comments: 2

Patch Set 3 : use a constant for other special ID. #

Patch Set 4 : rebased on 192559 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+31 lines, -21 lines) Patch
M chrome/browser/chromeos/drive/change_list_processor.cc View 1 2 3 2 chunks +1 line, -15 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/drive_file_system_unittest.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/drive/resource_entry_conversion.cc View 1 2 3 1 chunk +8 lines, -3 lines 0 comments Download
M chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc View 1 2 3 4 chunks +7 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Haruki Sato
This is the CL following https://codereview.chromium.org/13149003/ and now we have effective entries in /drive/other.
7 years, 8 months ago (2013-04-02 07:53:29 UTC) #1
kinaba
https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc File chrome/browser/chromeos/drive/resource_entry_conversion.cc (right): https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc#newcode64 chrome/browser/chromeos/drive/resource_entry_conversion.cc:64: entry_proto.set_parent_resource_id(util::kDriveOtherDirSpecialResourceId); I'm not sure if this is the right ...
7 years, 8 months ago (2013-04-03 05:39:33 UTC) #2
kinaba
lgtm https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc File chrome/browser/chromeos/drive/resource_entry_conversion.cc (right): https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc#newcode64 chrome/browser/chromeos/drive/resource_entry_conversion.cc:64: entry_proto.set_parent_resource_id(util::kDriveOtherDirSpecialResourceId); On 2013/04/03 05:39:33, kinaba wrote: > I'm ...
7 years, 8 months ago (2013-04-03 05:59:55 UTC) #3
Haruki Sato
https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc File chrome/browser/chromeos/drive/resource_entry_conversion.cc (right): https://codereview.chromium.org/13456002/diff/1/chrome/browser/chromeos/drive/resource_entry_conversion.cc#newcode64 chrome/browser/chromeos/drive/resource_entry_conversion.cc:64: entry_proto.set_parent_resource_id(util::kDriveOtherDirSpecialResourceId); On 2013/04/03 05:59:55, kinaba wrote: > On 2013/04/03 ...
7 years, 8 months ago (2013-04-03 06:49:43 UTC) #4
hidehiko
lgtm with a nitpick. https://codereview.chromium.org/13456002/diff/6001/chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc File chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc (right): https://codereview.chromium.org/13456002/diff/6001/chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc#newcode35 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc:35: EXPECT_EQ("<other>", entry_proto.parent_resource_id()); nit: using util::kDriveOtherDirSpecialResourceId ...
7 years, 8 months ago (2013-04-03 07:55:40 UTC) #5
Haruki Sato
https://codereview.chromium.org/13456002/diff/6001/chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc File chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc (right): https://codereview.chromium.org/13456002/diff/6001/chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc#newcode35 chrome/browser/chromeos/drive/resource_entry_conversion_unittest.cc:35: EXPECT_EQ("<other>", entry_proto.parent_resource_id()); On 2013/04/03 07:55:40, hidehiko wrote: > nit: ...
7 years, 8 months ago (2013-04-04 06:16:06 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13456002/13001
7 years, 8 months ago (2013-04-05 13:47:23 UTC) #7
commit-bot: I haz the power
Failed to apply patch for chrome/browser/chromeos/drive/drive_file_system.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 8 months ago (2013-04-05 13:47:25 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/haruki@chromium.org/13456002/19001
7 years, 8 months ago (2013-04-05 14:23:52 UTC) #9
commit-bot: I haz the power
7 years, 8 months ago (2013-04-05 16:59:11 UTC) #10
Message was sent while issue was closed.
Change committed as 192583

Powered by Google App Engine
This is Rietveld 408576698