Upstream version 10.39.225.0
[platform/framework/web/crosswalk.git] / src / third_party / cacheinvalidation / src / proto / channel_common.proto
index 9e79888..c68ac74 100644 (file)
@@ -23,9 +23,11 @@ package com.google.protos.ipc.invalidation;
 
 option optimize_for = LITE_RUNTIME;
 
-option java_outer_classname = "ChannelCommon";
 
 
+option java_outer_classname = "NanoChannelCommon";
+option java_package = "com.google.protos.ipc.invalidation";
+
 
 
 message ChannelMessageEncoding {
@@ -36,3 +38,20 @@ message ChannelMessageEncoding {
 
   }
 }
+
+message NetworkEndpointId {
+  enum NetworkAddress {
+    TEST = 1;  // A delivery service for testing
+
+    // Low numbers reserved.
+    ANDROID = 113;  // Android delivery service using c2dm / http.
+    LCS = 114;  // Lightweight connection service () channel.
+  }
+  optional NetworkAddress network_address = 1;
+  optional bytes client_address = 2;
+
+  // Optional. When true, the client is considered offline but the
+  // client_address is maintained so that the client can potentially be reached.
+  // When false or undefined, the client is considered online.
+  optional bool is_offline = 3;
+}