summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorpvalenzuela@chromium.org <pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 07:51:44 +0000
committerpvalenzuela@chromium.org <pvalenzuela@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-28 07:51:44 +0000
commitf49737b38742a270515974c6e20780eaf4f06fa2 (patch)
treec3b8ae39faa1ebe84bc3a99c3ab21c00960a4c9f /sync
parentc65f676922a747565ccba68a69f6d61f8fe009ca (diff)
downloadchromium_src-f49737b38742a270515974c6e20780eaf4f06fa2.zip
chromium_src-f49737b38742a270515974c6e20780eaf4f06fa2.tar.gz
chromium_src-f49737b38742a270515974c6e20780eaf4f06fa2.tar.bz2
Add HTTP status code to navigation data structures
This is a reboot of https://codereview.chromium.org/11054025/ BUG=153936,260276 Review URL: https://chromiumcodereview.appspot.com/22837005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219954 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r--sync/protocol/proto_value_conversions.cc1
-rw-r--r--sync/protocol/session_specifics.proto2
2 files changed, 3 insertions, 0 deletions
diff --git a/sync/protocol/proto_value_conversions.cc b/sync/protocol/proto_value_conversions.cc
index f4fe44d..c56ef0f 100644
--- a/sync/protocol/proto_value_conversions.cc
+++ b/sync/protocol/proto_value_conversions.cc
@@ -202,6 +202,7 @@ base::DictionaryValue* TabNavigationToValue(
SET_STR(favicon_url);
SET_ENUM(blocked_state, GetBlockedStateString);
SET_STR_REP(content_pack_categories);
+ SET_INT32(http_status_code);
return value;
}
diff --git a/sync/protocol/session_specifics.proto b/sync/protocol/session_specifics.proto
index f7b7d11..4bb8b3e 100644
--- a/sync/protocol/session_specifics.proto
+++ b/sync/protocol/session_specifics.proto
@@ -132,4 +132,6 @@ message TabNavigation {
optional BlockedState blocked_state = 18 [default=STATE_ALLOWED];
// A list of category identifiers for the URL.
repeated string content_pack_categories = 19;
+ // The status code from the last navigation.
+ optional int32 http_status_code = 20;
}