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

Side by Side 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: Fix tests Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/sessions/session_types.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ 5 #ifndef CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ 6 #define CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // The tabs, ordered by visual order. 190 // The tabs, ordered by visual order.
191 std::vector<SessionTab*> tabs; 191 std::vector<SessionTab*> tabs;
192 192
193 // Is the window maximized, minimized, or normal? 193 // Is the window maximized, minimized, or normal?
194 ui::WindowShowState show_state; 194 ui::WindowShowState show_state;
195 195
196 private: 196 private:
197 DISALLOW_COPY_AND_ASSIGN(SessionWindow); 197 DISALLOW_COPY_AND_ASSIGN(SessionWindow);
198 }; 198 };
199 199
200 // Defines a synced session for use by session sync. A synced session is a
201 // list of windows along with a unique session identifer (tag).
202 struct SyncedSession {
203 SyncedSession();
204 ~SyncedSession();
205
206 // Unique tag for each session.
207 std::string session_tag;
208 std::vector<SessionWindow*> windows;
209 };
210
211 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_ 200 #endif // CHROME_BROWSER_SESSIONS_SESSION_TYPES_H_
OLDNEW
« 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