| OLD | NEW |
| 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 Drive files and directories. | 5 // Protocol buffer definitions for serializing Drive files and directories. |
| 6 | 6 |
| 7 syntax = "proto2"; | 7 syntax = "proto2"; |
| 8 | 8 |
| 9 option optimize_for = LITE_RUNTIME; |
| 10 |
| 9 package drive; | 11 package drive; |
| 10 | 12 |
| 11 // Represents base::PlatformFileInfo. | 13 // Represents base::PlatformFileInfo. |
| 12 message PlatformFileInfoProto { | 14 message PlatformFileInfoProto { |
| 13 optional int64 size = 1; | 15 optional int64 size = 1; |
| 14 optional bool is_directory = 2; | 16 optional bool is_directory = 2; |
| 15 optional bool is_symbolic_link = 3; | 17 optional bool is_symbolic_link = 3; |
| 16 optional int64 last_modified = 4; | 18 optional int64 last_modified = 4; |
| 17 optional int64 last_accessed = 5; | 19 optional int64 last_accessed = 5; |
| 18 optional int64 creation_time = 6; | 20 optional int64 creation_time = 6; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 | 115 |
| 114 // True if the file is a mounted archive file. | 116 // True if the file is a mounted archive file. |
| 115 optional bool is_mounted = 5; | 117 optional bool is_mounted = 5; |
| 116 | 118 |
| 117 // True if the file is in the persistent directory. | 119 // True if the file is in the persistent directory. |
| 118 optional bool is_persistent = 6; | 120 optional bool is_persistent = 6; |
| 119 | 121 |
| 120 // When adding a new state, be sure to update TestDriveCacheState and test | 122 // When adding a new state, be sure to update TestDriveCacheState and test |
| 121 // functions defined in drive_test_util.cc. | 123 // functions defined in drive_test_util.cc. |
| 122 } | 124 } |
| OLD | NEW |