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

Unified Diff: chrome/browser/sessions/session_types.h

Issue 7792102: Revert 99391 (broke CrOS unit_tests) - Set user-visible machine names and devices types for synce... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « no previous file | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sessions/session_types.h
===================================================================
--- chrome/browser/sessions/session_types.h (revision 99393)
+++ chrome/browser/sessions/session_types.h (working copy)
@@ -197,4 +197,15 @@
DISALLOW_COPY_AND_ASSIGN(SessionWindow);
};
+// Defines a synced session for use by session sync. A synced session is a
+// list of windows along with a unique session identifer (tag).
+struct SyncedSession {
+ SyncedSession();
+ ~SyncedSession();
+
+ // Unique tag for each session.
+ std::string session_tag;
+ std::vector<SessionWindow*> windows;
+};
+
#endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
« no previous file with comments | « no previous file | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698