| Index: chrome/test/live_sync/live_sessions_sync_test.h
|
| diff --git a/chrome/test/live_sync/live_sessions_sync_test.h b/chrome/test/live_sync/live_sessions_sync_test.h
|
| index 09939bf58fd92fb74242515a488e585bf3017daa..3a9e586ae95a90d122edae2dc0972e43d7b52d7e 100644
|
| --- a/chrome/test/live_sync/live_sessions_sync_test.h
|
| +++ b/chrome/test/live_sync/live_sessions_sync_test.h
|
| @@ -190,6 +190,16 @@ class LiveSessionsSyncTest : public LiveSyncTest {
|
| return true;
|
| }
|
|
|
| + // Encrypt sessions datatype.
|
| + bool EnableEncryption(int index) {
|
| + return GetClient(index)->EnableEncryptionForType(syncable::SESSIONS);
|
| + }
|
| +
|
| + // Check if Sessions are encrypted.
|
| + bool IsEncrypted(int index) {
|
| + return GetClient(index)->IsTypeEncrypted(syncable::SESSIONS);
|
| + }
|
| +
|
| // Open a single tab and return the TabContents. TabContents must be checked
|
| // to ensure the tab opened successsfully.
|
| TabContents* OpenTab(int index, GURL url) WARN_UNUSED_RESULT {
|
| @@ -244,7 +254,7 @@ class LiveSessionsSyncTest : public LiveSyncTest {
|
| std::vector<const ForeignSession*> sessions;
|
| if (!GetProfile(index)->GetProfileSyncService()->
|
| GetSessionModelAssociator()->GetAllForeignSessions(&sessions))
|
| - return 0;
|
| + return 0;
|
| return sessions.size();
|
| }
|
|
|
|
|