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

Side by Side Diff: sync/protocol/session_specifics.proto

Issue 101573003: Add the navigation redirect-chain to Sync sessions proto for offline analysis. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address Brett's comment on patch set 46, and rebase. Created 6 years, 8 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 | « sync/protocol/proto_value_conversions_unittest.cc ('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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 // 4 //
5 // Sync protocol datatype extension for sessions. 5 // Sync protocol datatype extension for sessions.
6 6
7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change 7 // Update proto_value_conversions{.h,.cc,_unittest.cc} if you change
8 // any fields in this file. 8 // any fields in this file.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 enum BlockedState { 127 enum BlockedState {
128 STATE_ALLOWED = 1; 128 STATE_ALLOWED = 1;
129 STATE_BLOCKED = 2; 129 STATE_BLOCKED = 2;
130 } 130 }
131 // Whether access to the URL was allowed or blocked. 131 // Whether access to the URL was allowed or blocked.
132 optional BlockedState blocked_state = 18 [default=STATE_ALLOWED]; 132 optional BlockedState blocked_state = 18 [default=STATE_ALLOWED];
133 // A list of category identifiers for the URL. 133 // A list of category identifiers for the URL.
134 repeated string content_pack_categories = 19; 134 repeated string content_pack_categories = 19;
135 // The status code from the last navigation. 135 // The status code from the last navigation.
136 optional int32 http_status_code = 20; 136 optional int32 http_status_code = 20;
137
137 // Referrer policy. Valid enums are defined in 138 // Referrer policy. Valid enums are defined in
138 // third_party/WebKit/public/platform/WebReferrerPolicy.h. 139 // third_party/WebKit/public/platform/WebReferrerPolicy.h.
139 optional int32 referrer_policy = 21 [default = 1]; 140 optional int32 referrer_policy = 21 [default = 1];
140 // True if created from restored navigation entry that hasn't been loaded. 141 // True if created from restored navigation entry that hasn't been loaded.
141 optional bool is_restored = 22; 142 optional bool is_restored = 22;
143 // The chain of redirections for this navigation, from the original URL
144 // through the last URL that redirected.
145 repeated NavigationRedirect navigation_redirect = 23;
146 // Normally not present.
147 // The last URL traversed when different from the virtual_url.
148 optional string last_navigation_redirect_url = 24;
142 } 149 }
150
151 // Navigation information for a single redirection within a single navigation.
152 message NavigationRedirect {
153 // A URL that redirected while navigating to the virtual_url.
154 optional string url = 1;
155 }
OLDNEW
« no previous file with comments | « sync/protocol/proto_value_conversions_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698