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

Unified Diff: components/invalidation/android/proto/serialized_invalidation.proto

Issue 1144543009: [Android] Only invalidate objects that were received from Tango on resume. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: +toString Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: components/invalidation/android/proto/serialized_invalidation.proto
diff --git a/components/invalidation/android/proto/serialized_invalidation.proto b/components/invalidation/android/proto/serialized_invalidation.proto
new file mode 100644
index 0000000000000000000000000000000000000000..c191f7ed26c84cfd4c10571ff3242c3a943312ca
--- /dev/null
+++ b/components/invalidation/android/proto/serialized_invalidation.proto
@@ -0,0 +1,18 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// 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;
+}

Powered by Google App Engine
This is Rietveld 408576698