Index: components/invalidation/android/java/src/org/chromium/components/invalidation/serialized_invalidation.proto |
diff --git a/components/invalidation/android/java/src/org/chromium/components/invalidation/serialized_invalidation.proto b/components/invalidation/android/java/src/org/chromium/components/invalidation/serialized_invalidation.proto |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c191f7ed26c84cfd4c10571ff3242c3a943312ca |
--- /dev/null |
+++ b/components/invalidation/android/java/src/org/chromium/components/invalidation/serialized_invalidation.proto |
@@ -0,0 +1,18 @@ |
+// Copyright 2015 The Chromium Authors. All rights reserved. |
nyquist
2015/06/05 19:49:40
Could you move this file to //components/invalidat
knn
2015/06/08 11:09:01
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+// |
+// Protocol buffer definition for saving pending invalidations that are |
+// received when Chrome is unable to process them (i.e. it is backgrounded). |
+// |
+syntax = "proto2"; |
+package org.chromium.components.invalidation; |
+option optimize_for = LITE_RUNTIME; |
+ |
+message Invalidation { |
+ // Next ID to use: 5 |
+ optional string object_id = 1; |
+ optional int32 object_source = 2; |
+ optional int64 version = 3; |
+ optional string payload = 4; |
+} |