| 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 87c3a65c1bbcd79f3eb9568a02e7c278f90fed41..11734e95e65ac31bda65c4d559691b24a82ea608 100644
|
| --- a/chrome/test/live_sync/live_sessions_sync_test.h
|
| +++ b/chrome/test/live_sync/live_sessions_sync_test.h
|
| @@ -16,6 +16,8 @@
|
| #include "chrome/browser/sessions/base_session_service.h"
|
| #include "chrome/browser/sessions/session_service_test_helper.h"
|
| #include "chrome/browser/sessions/session_types.h"
|
| +#include "chrome/browser/sync/profile_sync_service_harness.h"
|
| +#include "chrome/browser/sync/syncable/nigori_util.h"
|
| #include "chrome/test/live_sync/live_sync_test.h"
|
|
|
| class GURL;
|
| @@ -97,6 +99,16 @@ class LiveSessionsSyncTest : public LiveSyncTest {
|
| // Sets up the TestSessionService helper and the new browser windows.
|
| virtual bool SetupClients();
|
|
|
| + // 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;
|
|
|