OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 definition for saving pending invalidations that are | 5 // Protocol buffer definition for saving pending invalidations that are |
6 // received when Chrome is unable to process them (i.e. it is backgrounded). | 6 // received when Chrome is unable to process them (i.e. it is backgrounded). |
7 // | 7 // |
8 syntax = "proto2"; | 8 syntax = "proto2"; |
9 package org.chromium.components.invalidation; | 9 package org.chromium.components.invalidation; |
10 option optimize_for = LITE_RUNTIME; | 10 option optimize_for = LITE_RUNTIME; |
11 | 11 |
12 message Invalidation { | 12 message Invalidation { |
13 // Next ID to use: 5 | 13 // Next ID to use: 5 |
14 optional string object_id = 1; | 14 optional string object_id = 1; |
15 optional int32 object_source = 2; | 15 optional int32 object_source = 2; |
16 optional int64 version = 3; | 16 optional int64 version = 3; |
17 optional string payload = 4; | 17 optional string payload = 4; |
18 } | 18 } |
OLD | NEW |