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

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

Issue 1162033004: Pull cacheinvalidations code directory into chromium repo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
OLDNEW
(Empty)
1 /*
2 * Copyright 2011 Google Inc.
3 *
4 * Licensed under the Apache License, Version 2.0 (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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 //
17 // Common utilities used by all channel related protos.
18 // This is also publicly visible to all channel implementors.
19
20 syntax = "proto2";
21
22 package com.google.protos.ipc.invalidation;
23
24 option optimize_for = LITE_RUNTIME;
25
26
27
28 option java_outer_classname = "NanoChannelCommon";
29 option java_package = "com.google.protos.ipc.invalidation";
30
31
32
33 message ChannelMessageEncoding {
34 // What kind of encoding is used for network_message
35 enum MessageEncoding {
36 // Raw proto encoding
37 PROTOBUF_BINARY_FORMAT = 1;
38
39 }
40 }
41
42 message NetworkEndpointId {
43 enum NetworkAddress {
44 TEST = 1; // A delivery service for testing
45
46 // Low numbers reserved.
47 ANDROID = 113; // Android delivery service using c2dm / http.
48 LCS = 114; // Lightweight connection service () channel.
49 }
50 optional NetworkAddress network_address = 1;
51 optional bytes client_address = 2;
52
53 // Optional. When true, the client is considered offline but the
54 // client_address is maintained so that the client can potentially be reached.
55 // When false or undefined, the client is considered online.
56 optional bool is_offline = 3;
57 }
OLDNEW
« no previous file with comments | « third_party/cacheinvalidation/src/proto/android_service.proto ('k') | third_party/cacheinvalidation/src/proto/client.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698