Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / sync / protocol / session_specifics.proto
index dc3670d..bde8924 100644 (file)
@@ -134,9 +134,22 @@ message TabNavigation {
   repeated string content_pack_categories = 19;
   // The status code from the last navigation.
   optional int32 http_status_code = 20;
+
   // Referrer policy. Valid enums are defined in
   // third_party/WebKit/public/platform/WebReferrerPolicy.h.
   optional int32 referrer_policy = 21 [default = 1];
   // True if created from restored navigation entry that hasn't been loaded.
   optional bool is_restored = 22;
+  // The chain of redirections for this navigation, from the original URL
+  // through the last URL that redirected.
+  repeated NavigationRedirect navigation_redirect = 23;
+  // Normally not present.
+  // The last URL traversed when different from the virtual_url.
+  optional string last_navigation_redirect_url = 24;
+}
+
+// Navigation information for a single redirection within a single navigation.
+message NavigationRedirect {
+  // A URL that redirected while navigating to the virtual_url.
+  optional string url = 1;
 }