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

Unified Diff: chrome/browser/chromeos/drive/drive_file_system_interface.h

Issue 13909002: drive: Supports shared-with-me search in searchDriveMetadata(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/search_metadata.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/drive/drive_file_system_interface.h
diff --git a/chrome/browser/chromeos/drive/drive_file_system_interface.h b/chrome/browser/chromeos/drive/drive_file_system_interface.h
index c2941b6ee6478a8296802cc1303dca0554996a2c..c3df6690a6b5e2df2c56d7feee78977b4793eab9 100644
--- a/chrome/browser/chromeos/drive/drive_file_system_interface.h
+++ b/chrome/browser/chromeos/drive/drive_file_system_interface.h
@@ -126,11 +126,13 @@ struct DriveClientContext {
// SEARCH_METADATA_ALL is the default to investigate all the entries.
// SEARCH_METADATA_EXCLUDE_HOSTED_DOCUMENTS excludes the hosted documents.
// SEARCH_METADATA_EXCLUDE_DIRECTORIES excludes the directories from the result.
-// TODO(haruki): Add option for shared_with_me and offline.
+// SEARCH_METADATA_SHARED_WITH_ME targets only "shared-with-me" entries.
+// TODO(haruki): Add option for offline.
enum SearchMetadataOptions {
SEARCH_METADATA_ALL = 0,
SEARCH_METADATA_EXCLUDE_HOSTED_DOCUMENTS = 1,
SEARCH_METADATA_EXCLUDE_DIRECTORIES = 1 << 1,
+ SEARCH_METADATA_SHARED_WITH_ME = 1 << 2,
};
// Drive file system abstraction layer.
« no previous file with comments | « no previous file | chrome/browser/chromeos/drive/search_metadata.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698