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

Side by Side Diff: third_party/cacheinvalidation/src/proto/android_channel.proto

Issue 1149283005: Roll src/third_party/android_protobuf 94f522f9:999188d0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Trying jbudorick@'s suggestion 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 unified diff | Download patch
« no previous file with comments | « third_party/android_protobuf/android_protobuf.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2011 Google Inc. 2 * Copyright 2011 Google Inc.
3 * 3 *
4 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License. 5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at 6 * You may obtain a copy of the License at
7 * 7 *
8 * http://www.apache.org/licenses/LICENSE-2.0 8 * http://www.apache.org/licenses/LICENSE-2.0
9 * 9 *
10 * Unless required by applicable law or agreed to in writing, software 10 * Unless required by applicable law or agreed to in writing, software
(...skipping 17 matching lines...) Expand all
28 option java_outer_classname = "NanoAndroidChannel"; 28 option java_outer_classname = "NanoAndroidChannel";
29 option java_package = "com.google.protos.ipc.invalidation"; 29 option java_package = "com.google.protos.ipc.invalidation";
30 30
31 31
32 import "client_protocol.proto"; 32 import "client_protocol.proto";
33 33
34 // Defines the valid major versions of the android channel protocol. The 34 // Defines the valid major versions of the android channel protocol. The
35 // channel version controls the expected envelope syntax and semantics of 35 // channel version controls the expected envelope syntax and semantics of
36 // http and c2dm messages sent between the client and server. 36 // http and c2dm messages sent between the client and server.
37 enum MajorVersion { 37 enum MajorVersion {
38 option allow_alias = true;
38 39
39 // The initial version of the android channel protocol. Inbound and 40 // The initial version of the android channel protocol. Inbound and
40 // outbound channel packets contained a single binary protocol message only. 41 // outbound channel packets contained a single binary protocol message only.
41 INITIAL = 0; 42 INITIAL = 0;
42 43
43 // Adds batching (multiple protocol messages in a single channel message) 44 // Adds batching (multiple protocol messages in a single channel message)
44 BATCH = 1; 45 BATCH = 1;
45 46
46 // The default channel version used by Android clients. Lower major numbers 47 // The default channel version used by Android clients. Lower major numbers
47 // will represent earlier versions and higher numbers will represent 48 // will represent earlier versions and higher numbers will represent
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 88
88 // Message contents (serialized ServerToClientMessage). 89 // Message contents (serialized ServerToClientMessage).
89 optional bytes message = 2; 90 optional bytes message = 2;
90 } 91 }
91 92
92 // A batch of messages addressed to potentially-different Ticls on the same 93 // A batch of messages addressed to potentially-different Ticls on the same
93 // Android device. 94 // Android device.
94 message AddressedAndroidMessageBatch { 95 message AddressedAndroidMessageBatch {
95 repeated AddressedAndroidMessage addressed_message = 1; 96 repeated AddressedAndroidMessage addressed_message = 1;
96 } 97 }
OLDNEW
« no previous file with comments | « third_party/android_protobuf/android_protobuf.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698