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

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

Issue 7740055: Set user-visible machine names and devices types for synced sessions. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Split off platform-specific code to various util files, addressed comments 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
Index: chrome/browser/sessions/session_types.h
diff --git a/chrome/browser/sessions/session_types.h b/chrome/browser/sessions/session_types.h
index fd52cb99f0936b382de58df7f380be07c5a3c646..80d581488ee9d4c0e04343c5a6ce843ff4529421 100644
--- a/chrome/browser/sessions/session_types.h
+++ b/chrome/browser/sessions/session_types.h
@@ -205,6 +205,17 @@ struct SyncedSession {
// Unique tag for each session.
std::string session_tag;
+ // User-visible name
+ std::string client_name;
+ // The type of device.
+ enum DeviceType {
sky 2011/08/31 03:35:16 enum before constructor.
Yaron 2011/08/31 23:23:22 Done.
+ TYPE_WIN = 1,
+ TYPE_MAC = 2,
+ TYPE_LINUX = 3,
+ TYPE_CROS = 4,
+ TYPE_OTHER = 5
+ };
+ DeviceType device_type;
sky 2011/08/31 03:35:16 If this isn't used in chrome/browser/sessions, I d
Yaron 2011/08/31 23:23:22 Well it composes SessionWindows and is related to
std::vector<SessionWindow*> windows;
};

Powered by Google App Engine
This is Rietveld 408576698