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

Unified Diff: components/sessions/content/content_serialized_navigation_driver.cc

Issue 2384403005: Fix flaky test ContentSerializedNavigationBuilderTest.ToNavigationEntry (Closed)
Patch Set: Address feedback Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: components/sessions/content/content_serialized_navigation_driver.cc
diff --git a/components/sessions/content/content_serialized_navigation_driver.cc b/components/sessions/content/content_serialized_navigation_driver.cc
index 8f4d47bd3fe97515e1c7f9ffdfd4e914abb3c7f7..158d248a25d6777b10d2a42c70cba2eb0c57995f 100644
--- a/components/sessions/content/content_serialized_navigation_driver.cc
+++ b/components/sessions/content/content_serialized_navigation_driver.cc
@@ -162,4 +162,9 @@ ContentSerializedNavigationDriver::GetAllExtendedInfoHandlers() const {
return extended_info_handler_map_;
}
+void ContentSerializedNavigationDriver::
+RemoveAllExtendedInfoHandlersForTesting() {
+ extended_info_handler_map_.clear();
+}
+
} // namespace sessions

Powered by Google App Engine
This is Rietveld 408576698