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

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

Issue 10823226: Get AboutResource as account metadata for Drive V2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 4 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
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 message GDataDirectoryProto { 75 message GDataDirectoryProto {
76 optional GDataEntryProto gdata_entry = 1; 76 optional GDataEntryProto gdata_entry = 1;
77 repeated GDataDirectoryProto child_directories = 7; 77 repeated GDataDirectoryProto child_directories = 7;
78 repeated GDataEntryProto child_files = 9; 78 repeated GDataEntryProto child_files = 9;
79 } 79 }
80 80
81 // Container for the root directory and the largest changestamp. 81 // Container for the root directory and the largest changestamp.
82 // TODO(satorux): Remove this: crbug.com/137862 82 // TODO(satorux): Remove this: crbug.com/137862
83 message GDataRootDirectoryProto { 83 message GDataRootDirectoryProto {
84 optional GDataDirectoryProto gdata_directory = 1; 84 optional GDataDirectoryProto gdata_directory = 1;
85 optional int32 largest_changestamp = 2; 85 optional int32 deprecated_largest_changestamp = 2;
satorux1 2012/08/08 13:18:51 please remove this.
kochi 2012/08/08 16:53:27 Done.
86 optional int64 largest_changestamp = 4;
86 // Monotonically increasing version number, which is changed when 87 // Monotonically increasing version number, which is changed when
87 // incompatible change is made in the proto file. 88 // incompatible change is made in the proto file.
88 // kProtoVersion in gdata_files.h defines the current version. 89 // kProtoVersion in gdata_files.h defines the current version.
89 optional int32 version = 3; 90 optional int32 version = 3;
90 } 91 }
91 92
92 // Message to store information of an existing cache file. 93 // Message to store information of an existing cache file.
93 // Cache files are stored in 'tmp' or 'persistent' directory under the 94 // Cache files are stored in 'tmp' or 'persistent' directory under the
94 // root cache directory. See GDataCache::GetCacheRootPath(). 95 // root cache directory. See GDataCache::GetCacheRootPath().
95 message GDataCacheEntry { 96 message GDataCacheEntry {
(...skipping 11 matching lines...) Expand all
107 108
108 // True if the file is a mounted archive file. 109 // True if the file is a mounted archive file.
109 optional bool is_mounted = 5; 110 optional bool is_mounted = 5;
110 111
111 // True if the file is in the persistent directory. 112 // True if the file is in the persistent directory.
112 optional bool is_persistent = 6; 113 optional bool is_persistent = 6;
113 114
114 // When adding a new state, be sure to update TestGDataCacheState and test 115 // When adding a new state, be sure to update TestGDataCacheState and test
115 // functions defined in gdata_test_util.cc. 116 // functions defined in gdata_test_util.cc.
116 } 117 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698