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

Unified Diff: components/sync_sessions/sync_sessions_metrics.cc

Issue 2499023004: [Sync] Introduce SyncedSessionWindow type. (Closed)
Patch Set: Address comments Created 3 years, 9 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/sync_sessions/sync_sessions_metrics.cc
diff --git a/components/sync_sessions/sync_sessions_metrics.cc b/components/sync_sessions/sync_sessions_metrics.cc
index 1242b095e3289cd4ac8df9bbb6be82e7602628e4..1d6ca99925fb491d20b9bf43aac1f65aa7af3f9f 100644
--- a/components/sync_sessions/sync_sessions_metrics.cc
+++ b/components/sync_sessions/sync_sessions_metrics.cc
@@ -51,7 +51,7 @@ base::Time SyncSessionsMetrics::MaxTabTimestamp(
break;
}
for (const auto& key_value : session->windows) {
- for (const auto& tab : key_value.second->tabs) {
+ for (const auto& tab : key_value.second->wrapped_window.tabs) {
best = std::max(best, tab->timestamp);
}
}
« no previous file with comments | « components/sync_sessions/sessions_sync_manager_unittest.cc ('k') | components/sync_sessions/sync_sessions_metrics_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698