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

Unified Diff: components/sync_sessions/synced_session_tracker.h

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
« no previous file with comments | « components/sync_sessions/synced_session.cc ('k') | components/sync_sessions/synced_session_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_sessions/synced_session_tracker.h
diff --git a/components/sync_sessions/synced_session_tracker.h b/components/sync_sessions/synced_session_tracker.h
index ccd47839e24c49d53f7a750fe48736d8875f7d48..506d3d0cbeecb802b6aa39f9fc27f2d337de599f 100644
--- a/components/sync_sessions/synced_session_tracker.h
+++ b/components/sync_sessions/synced_session_tracker.h
@@ -219,7 +219,7 @@ class SyncedSessionTracker {
// Map: session tag -> (tab/window -> SessionTab*/SessionWindow*)
std::map<std::string, std::map<SessionID::id_type, sessions::SessionTab*>>
synced_tab_map_;
- std::map<std::string, std::map<SessionID::id_type, sessions::SessionWindow*>>
+ std::map<std::string, std::map<SessionID::id_type, SyncedSessionWindow*>>
synced_window_map_;
// The collection that owns the SyncedSessions, and transitively, all of the
@@ -237,9 +237,8 @@ class SyncedSessionTracker {
std::map<std::string,
std::map<SessionID::id_type, std::unique_ptr<sessions::SessionTab>>>
unmapped_tabs_;
- std::map<
- std::string,
- std::map<SessionID::id_type, std::unique_ptr<sessions::SessionWindow>>>
+ std::map<std::string,
+ std::map<SessionID::id_type, std::unique_ptr<SyncedSessionWindow>>>
unmapped_windows_;
// The tag for this machine's local session, so we can distinguish the foreign
« no previous file with comments | « components/sync_sessions/synced_session.cc ('k') | components/sync_sessions/synced_session_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698