Index: chrome/browser/sessions/session_types_test_helper.cc |
diff --git a/chrome/browser/sessions/session_types_test_helper.cc b/chrome/browser/sessions/session_types_test_helper.cc |
index 7ca5eac4166fb6dd10fc2286a18c2a50cea9e317..1f035eefc4349a55417b84d2784fb43f86cd4d80 100644 |
--- a/chrome/browser/sessions/session_types_test_helper.cc |
+++ b/chrome/browser/sessions/session_types_test_helper.cc |
@@ -37,6 +37,7 @@ TabNavigation SessionTypesTestHelper::CreateNavigation( |
navigation.title_ = UTF8ToUTF16(title); |
navigation.content_state_ = "fake_state"; |
navigation.timestamp_ = base::Time::Now(); |
+ navigation.http_status_code_ = 200; |
return navigation; |
} |
@@ -68,6 +69,16 @@ bool SessionTypesTestHelper::GetIsOverridingUserAgent( |
return navigation.is_overriding_user_agent_; |
} |
+base::Time SessionTypesTestHelper::GetTimestamp( |
+ const TabNavigation& navigation) { |
+ return navigation.timestamp_; |
+} |
+ |
+int SessionTypesTestHelper::GetHttpStatusCode( |
+ const TabNavigation& navigation) { |
+ return navigation.http_status_code_; |
+} |
+ |
void SessionTypesTestHelper::SetContentState( |
TabNavigation* navigation, |
const std::string& content_state) { |