| Index: chrome/browser/chromeos/drive/search_metadata.cc
|
| diff --git a/chrome/browser/chromeos/drive/search_metadata.cc b/chrome/browser/chromeos/drive/search_metadata.cc
|
| index dac885ef4ab6f5798e6bb3f953a5397b6f422cac..39dc4f5249b55740e201bf8b85f97a5289d31ded 100644
|
| --- a/chrome/browser/chromeos/drive/search_metadata.cc
|
| +++ b/chrome/browser/chromeos/drive/search_metadata.cc
|
| @@ -89,6 +89,12 @@ bool IsEligibleEntry(const DriveEntryProto& entry, int options) {
|
| if (options & SEARCH_METADATA_SHARED_WITH_ME)
|
| return entry.shared_with_me();
|
|
|
| + // Exclude "drive", "drive/root", and "drive/other".
|
| + if (entry.resource_id() == util::kDriveGrandRootSpecialResourceId ||
|
| + entry.parent_resource_id() == util::kDriveGrandRootSpecialResourceId) {
|
| + return false;
|
| + }
|
| +
|
| return true;
|
| }
|
|
|
|
|