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

Unified Diff: chrome/test/live_sync/sessions_helper.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, 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/test/live_sync/sessions_helper.h
diff --git a/chrome/test/live_sync/sessions_helper.h b/chrome/test/live_sync/sessions_helper.h
index bf8a39d27c995dec7936722eb206f813b95e3dce..5ca01fda705c1fa26d99a412c7f22aad9e209918 100644
--- a/chrome/test/live_sync/sessions_helper.h
+++ b/chrome/test/live_sync/sessions_helper.h
@@ -11,12 +11,13 @@
#include "base/compiler_specific.h"
#include "chrome/browser/sessions/session_types.h"
+#include "chrome/browser/sync/glue/synced_session.h"
#include "chrome/browser/sync/engine/nigori_util.h"
#include "chrome/test/live_sync/live_sync_test.h"
class GURL;
-typedef std::vector<const SyncedSession*> SyncedSessionVector;
+typedef std::vector<const browser_sync::SyncedSession*> SyncedSessionVector;
typedef std::vector<SessionWindow*> SessionWindowVector;
namespace sessions_helper {
@@ -55,7 +56,8 @@ void SortSessionWindows(SessionWindowVector& windows);
// Compares a foreign session based on the first session window.
// Returns true based on the comparison of the session windows.
-bool CompareSyncedSessions(const SyncedSession* lhs, const SyncedSession* rhs);
+bool CompareSyncedSessions(const browser_sync::SyncedSession* lhs,
+ const browser_sync::SyncedSession* rhs);
// Sort a SyncedSession vector using our custom SyncedSession comparator.
void SortSyncedSessions(SyncedSessionVector* sessions);
@@ -102,7 +104,7 @@ bool ModelAssociatorHasTabWithUrl(int index, const GURL& url);
// Stores a pointer to the local session for a given profile in |session|.
// Returns true on success, false on failure.
-bool GetLocalSession(int index, const SyncedSession** session);
+bool GetLocalSession(int index, const browser_sync::SyncedSession** session);
} // namespace sessions_helper
« no previous file with comments | « chrome/test/live_sync/performance/sessions_sync_perf_test.cc ('k') | chrome/test/live_sync/sessions_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698