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

Unified Diff: chrome/browser/sync/glue/synced_session.h

Issue 10917231: Revamp TabNavigation class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Mac Created 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/glue/synced_session.h
diff --git a/chrome/browser/sync/glue/synced_session.h b/chrome/browser/sync/glue/synced_session.h
index e7aada601c5deaed8a62b72f1eaae7723d230ab3..a1d0d6827b0dcbca46c4f4772186d58e88a3f19d 100644
--- a/chrome/browser/sync/glue/synced_session.h
+++ b/chrome/browser/sync/glue/synced_session.h
@@ -18,45 +18,6 @@ class NavigationEntry;
namespace browser_sync {
-// Sync-specific wrapper around a normal TabNavigation.
-// Copy semantics supported.
-class SyncedTabNavigation : public TabNavigation {
- public:
- SyncedTabNavigation();
- SyncedTabNavigation(const SyncedTabNavigation& tab);
- SyncedTabNavigation(int index,
- const GURL& virtual_url,
- const content::Referrer& referrer,
- const string16& title,
- const std::string& state,
- content::PageTransition transition,
- int unique_id,
- const base::Time& timestamp);
- virtual ~SyncedTabNavigation();
-
- // Unique id for this navigation.
- void set_unique_id(int unique_id);
- int unique_id() const;
-
- // Timestamp this navigation occurred.
- void set_timestamp(const base::Time& timestamp);
- base::Time timestamp() const;
-
- private:
- int unique_id_;
- base::Time timestamp_;
-};
-
-// Sync-specific wrapper around a normal SessionTab to support using
-// SyncedTabNavigation.
-struct SyncedSessionTab : public SessionTab {
- public:
- SyncedSessionTab();
- virtual ~SyncedSessionTab();
-
- std::vector<SyncedTabNavigation> synced_tab_navigations;
-};
-
// 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.
« 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