| Index: chrome/browser/sync/glue/synced_session_tracker.h
|
| diff --git a/chrome/browser/sync/glue/synced_session_tracker.h b/chrome/browser/sync/glue/synced_session_tracker.h
|
| index 8e402a78d9970068ee68cc852b541a973e01b889..955eb728488d4077fc1d333dce474db87b421487 100644
|
| --- a/chrome/browser/sync/glue/synced_session_tracker.h
|
| +++ b/chrome/browser/sync/glue/synced_session_tracker.h
|
| @@ -20,7 +20,7 @@
|
| namespace browser_sync {
|
|
|
| // Class to manage synced sessions. The tracker will own all SyncedSession
|
| -// and SessionTab objects it creates, and deletes them appropriately on
|
| +// and SyncedSessionTab objects it creates, and deletes them appropriately on
|
| // destruction.
|
| // Note: SyncedSession objects are created for all synced sessions, including
|
| // the local session (whose tag we maintain separately).
|
| @@ -57,7 +57,7 @@ class SyncedSessionTracker {
|
| // - Returns false, tab is set to NULL.
|
| bool LookupSessionTab(const std::string& session_tag,
|
| SessionID::id_type tab_id,
|
| - const SessionTab** tab) const;
|
| + const SyncedSessionTab** tab) const;
|
|
|
| // Returns a pointer to the SyncedSession object associated with
|
| // |session_tag|. If none exists, creates one. Ownership of the
|
| @@ -104,8 +104,8 @@ class SyncedSessionTracker {
|
| // Returns a pointer to the SessionTab object associated with |tab_id| for
|
| // the session specified with |session_tag|. If none exists, creates one.
|
| // Ownership of the SessionTab remains within the SyncedSessionTracker.
|
| - SessionTab* GetTab(const std::string& session_tag,
|
| - SessionID::id_type tab_id);
|
| + SyncedSessionTab* GetTab(const std::string& session_tag,
|
| + SessionID::id_type tab_id);
|
|
|
| // Free the memory for all dynamically allocated objects and clear the
|
| // tracking structures.
|
| @@ -139,10 +139,10 @@ class SyncedSessionTracker {
|
| // above).
|
| struct SessionTabWrapper {
|
| SessionTabWrapper() : tab_ptr(NULL), owned(false) {}
|
| - SessionTabWrapper(SessionTab* tab_ptr, bool owned)
|
| + SessionTabWrapper(SyncedSessionTab* tab_ptr, bool owned)
|
| : tab_ptr(tab_ptr),
|
| owned(owned) {}
|
| - SessionTab* tab_ptr;
|
| + SyncedSessionTab* tab_ptr;
|
| bool owned;
|
| };
|
| typedef std::map<SessionID::id_type, SessionTabWrapper> IDToSessionTabMap;
|
| @@ -185,7 +185,7 @@ class SyncedSessionTracker {
|
| // have not yet mapped to SyncedSessions. These are temporarily orphaned
|
| // tabs, and won't be deleted if we delete synced_session_map_, but are still
|
| // owned by the SyncedSessionTracker itself (and deleted on Clear()).
|
| - std::set<SessionTab*> unmapped_tabs_;
|
| + std::set<SyncedSessionTab*> unmapped_tabs_;
|
|
|
| // The tag for this machine's local session, so we can distinguish the foreign
|
| // sessions.
|
|
|