drive: Add ConvertDocumentEntryToDriveEntryProto()

This is an equivalent of DriveEntry/File/Directory::InitFromDocumentEntry()
This function will be used to process the metadata feeds as DriveEntryProto.

BUG=141511
TEST=unit_tests
[email protected]
# for gypi changes

Review URL: https://chromiumcodereview.appspot.com/10910177

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@156183 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/chromeos/gdata/drive.proto b/chrome/browser/chromeos/gdata/drive.proto
index 4e0934e..2365c75 100644
--- a/chrome/browser/chromeos/gdata/drive.proto
+++ b/chrome/browser/chromeos/gdata/drive.proto
@@ -88,6 +88,9 @@
   // https://developers.google.com/google-apps/documents-list/
   optional string upload_url = 8;
   optional DriveEntryKind kind = 10;
+  // This field is used for processing the feeds from the server. Deleted
+  // entries won't be stored in the metadata storage.
+  optional bool deleted = 11;
 
   // File specific information, such as MD5.
   optional DriveFileSpecificInfo file_specific_info = 9;