Index: chrome/browser/sync/sessions/sessions_util.cc |
diff --git a/chrome/browser/sync/sessions/sessions_util.cc b/chrome/browser/sync/sessions/sessions_util.cc |
index e5a9384d9640a2b9c2a32ca882e8fe1684ff2e61..b304d17479bb9cf81ce5eb416fc48875a6a8fe9e 100644 |
--- a/chrome/browser/sync/sessions/sessions_util.cc |
+++ b/chrome/browser/sync/sessions/sessions_util.cc |
@@ -39,6 +39,10 @@ bool ShouldSyncTab(const SyncedTabDelegate& tab) { |
!virtual_url.SchemeIs(chrome::kChromeNativeScheme) && |
!virtual_url.SchemeIsFile()) { |
found_valid_url = true; |
+ } else if (virtual_url == GURL(chrome::kChromeUIHistoryURL)) { |
+ // The history page is treated specially as we want it to trigger syncable |
stanisc
2015/04/14 22:42:40
Wouldn't there be a race condition between the pag
Nicolas Zea
2015/04/16 17:30:30
Yes, but that's fine. Once we do model association
|
+ // events for UI purposes. |
+ found_valid_url = true; |
stanisc
2015/04/14 22:42:40
Perhaps break the loop (here and above) once the v
Nicolas Zea
2015/04/16 17:30:29
We actually deliberately keep looping to ensure th
|
} |
} |
return found_valid_url; |