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

Side by Side Diff: chrome/browser/chromeos/gdata/gdata.proto

Issue 10270025: gdata: Remove use of FindEntryByPathAsync() from file_manager_util.cc (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Protocol buffer definitions for serializing GData files and directories. 5 // Protocol buffer definitions for serializing GData files and directories.
6 6
7 syntax = "proto2"; 7 syntax = "proto2";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package gdata; 11 package gdata;
12 12
13 // Represents base::PlatformFileInfo. 13 // Represents base::PlatformFileInfo.
14 message PlatformFileInfoProto { 14 message PlatformFileInfoProto {
15 optional int64 size = 1; 15 optional int64 size = 1;
16 optional bool is_directory = 2; 16 optional bool is_directory = 2;
17 optional bool is_symbolic_link = 3; 17 optional bool is_symbolic_link = 3;
18 optional int64 last_modified = 4; 18 optional int64 last_modified = 4;
19 optional int64 last_accessed = 5; 19 optional int64 last_accessed = 5;
20 optional int64 creation_time = 6; 20 optional int64 creation_time = 6;
21 } 21 }
22 22
23 // Represents GDataEntry. 23 // Represents GDataEntry.
24 message GDataEntryProto { 24 message GDataEntryProto {
25 optional PlatformFileInfoProto file_info = 1; 25 optional PlatformFileInfoProto file_info = 1;
26 optional string file_name = 2;
26 optional string title = 3; 27 optional string title = 3;
27 optional string resource_id = 4; 28 optional string resource_id = 4;
28 optional string edit_url = 5; 29 optional string edit_url = 5;
29 optional string content_url = 6; 30 optional string content_url = 6;
30 optional string parent_resource_id = 7; 31 optional string parent_resource_id = 7;
31 } 32 }
32 33
33 // Represents GDataFile. 34 // Represents GDataFile.
34 message GDataFileProto { 35 message GDataFileProto {
35 optional GDataEntryProto gdata_entry = 1; 36 optional GDataEntryProto gdata_entry = 1;
(...skipping 17 matching lines...) Expand all
53 optional string upload_url = 5; 54 optional string upload_url = 5;
54 optional uint32 origin = 6; 55 optional uint32 origin = 6;
55 repeated GDataDirectoryProto child_directories = 7; 56 repeated GDataDirectoryProto child_directories = 7;
56 repeated GDataFileProto child_files = 8; 57 repeated GDataFileProto child_files = 8;
57 } 58 }
58 // Represents GDataRootDirectory. 59 // Represents GDataRootDirectory.
59 message GDataRootDirectoryProto { 60 message GDataRootDirectoryProto {
60 optional GDataDirectoryProto gdata_directory = 1; 61 optional GDataDirectoryProto gdata_directory = 1;
61 optional int32 largest_changestamp = 2; 62 optional int32 largest_changestamp = 2;
62 } 63 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/extensions/file_manager_util.cc ('k') | chrome/browser/chromeos/gdata/gdata_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698