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

Unified Diff: chrome/browser/sync/glue/synced_session.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
Index: chrome/browser/sync/glue/synced_session.h
===================================================================
--- chrome/browser/sync/glue/synced_session.h (revision 99393)
+++ chrome/browser/sync/glue/synced_session.h (working copy)
@@ -1,42 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
-#define CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
-#pragma once
-
-#include <string>
-#include <vector>
-
-struct SessionWindow;
-
-namespace browser_sync {
-
-// Defines a synced session for use by session sync. A synced session is a
-// list of windows along with a unique session identifer (tag) and meta-data
-// about the device being synced.
-struct SyncedSession {
- // The type of device.
- enum DeviceType {
- TYPE_WIN = 1,
- TYPE_MACOSX = 2,
- TYPE_LINUX = 3,
- TYPE_CHROMEOS = 4,
- TYPE_OTHER = 5
- };
-
- SyncedSession();
- ~SyncedSession();
-
- // Unique tag for each session.
- std::string session_tag;
- // User-visible name
- std::string session_name;
- DeviceType device_type;
- std::vector<SessionWindow*> windows;
-};
-
-} // namespace browser_sync
-
-#endif // CHROME_BROWSER_SYNC_GLUE_SYNCED_SESSION_H_
« no previous file with comments | « chrome/browser/sync/glue/session_model_associator_unittest.cc ('k') | chrome/browser/sync/glue/synced_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698