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

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: rebase. 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 int64 largest_changestamp = 4;
86 // Monotonically increasing version number, which is changed when 86 // Monotonically increasing version number, which is changed when
87 // incompatible change is made in the proto file. 87 // incompatible change is made in the proto file.
88 // kProtoVersion in gdata_files.h defines the current version. 88 // kProtoVersion in gdata_files.h defines the current version.
89 optional int32 version = 3; 89 optional int32 version = 3;
90 } 90 }
91 91
92 // Message to store information of an existing cache file. 92 // Message to store information of an existing cache file.
93 // Cache files are stored in 'tmp' or 'persistent' directory under the 93 // Cache files are stored in 'tmp' or 'persistent' directory under the
94 // root cache directory. See GDataCache::GetCacheRootPath(). 94 // root cache directory. See GDataCache::GetCacheRootPath().
95 message GDataCacheEntry { 95 message GDataCacheEntry {
(...skipping 11 matching lines...) Expand all
107 107
108 // True if the file is a mounted archive file. 108 // True if the file is a mounted archive file.
109 optional bool is_mounted = 5; 109 optional bool is_mounted = 5;
110 110
111 // True if the file is in the persistent directory. 111 // True if the file is in the persistent directory.
112 optional bool is_persistent = 6; 112 optional bool is_persistent = 6;
113 113
114 // When adding a new state, be sure to update TestGDataCacheState and test 114 // When adding a new state, be sure to update TestGDataCacheState and test
115 // functions defined in gdata_test_util.cc. 115 // functions defined in gdata_test_util.cc.
116 } 116 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698