| Index: chrome/browser/sync/profile_sync_service_harness.h
|
| diff --git a/chrome/browser/sync/profile_sync_service_harness.h b/chrome/browser/sync/profile_sync_service_harness.h
|
| index 48de1d4b5d79a1db0596a22ecfc0d98cc24d1106..7ae069c2b81701571379848360d1bf9af25e1250 100644
|
| --- a/chrome/browser/sync/profile_sync_service_harness.h
|
| +++ b/chrome/browser/sync/profile_sync_service_harness.h
|
| @@ -20,9 +20,9 @@
|
| class Profile;
|
|
|
| namespace browser_sync {
|
| - namespace sessions {
|
| - struct SyncSessionSnapshot;
|
| - }
|
| +namespace sessions {
|
| +class SyncSessionSnapshot;
|
| +}
|
| }
|
|
|
| // An instance of this class is basically our notion of a "sync client" for
|
| @@ -161,8 +161,7 @@ class ProfileSyncServiceHarness
|
| bool DisableSyncForAllDatatypes();
|
|
|
| // Returns a snapshot of the current sync session.
|
| - const browser_sync::sessions::SyncSessionSnapshot*
|
| - GetLastSessionSnapshot() const;
|
| + browser_sync::sessions::SyncSessionSnapshot GetLastSessionSnapshot() const;
|
|
|
| // Encrypt the datatype |type|. This method will block while the sync backend
|
| // host performs the encryption or a timeout is reached.
|
| @@ -290,7 +289,8 @@ class ProfileSyncServiceHarness
|
| const std::string& reason);
|
|
|
| // A helper for implementing IsDataSynced() and IsFullySynced().
|
| - bool IsDataSyncedImpl(const browser_sync::sessions::SyncSessionSnapshot*);
|
| + bool IsDataSyncedImpl(
|
| + const browser_sync::sessions::SyncSessionSnapshot& snapshot);
|
|
|
| // Returns true if the sync client has no unsynced items.
|
| bool IsDataSynced();
|
|
|