Chromium Code Reviews| Index: sync/internal_api/public/test/test_user_share.h |
| diff --git a/sync/internal_api/public/test/test_user_share.h b/sync/internal_api/public/test/test_user_share.h |
| index 507a2ed09ebc10fb778407e80daa74e2ead88ac4..fd2f1fe1c5f5043a392a81674b2200af1e5f0fed 100644 |
| --- a/sync/internal_api/public/test/test_user_share.h |
| +++ b/sync/internal_api/public/test/test_user_share.h |
| @@ -39,6 +39,10 @@ namespace syncer { |
| class SyncEncryptionHandler; |
| class TestDirectorySetterUpper; |
| +namespace syncable { |
| + class MockTransactionObserver; |
| +} |
| + |
| class TestUserShare { |
| public: |
| TestUserShare(); |
| @@ -61,10 +65,15 @@ class TestUserShare { |
| // methods normally handled via the SyncBackendHost |
| SyncEncryptionHandler* encryption_handler(); |
| + // Returns the directory's transaction observer. This transaction observer |
| + // has methods which can be helpful when writing test assertions. |
| + syncable::MockTransactionObserver* transaction_observer(); |
| + |
| // A helper function to pretend to download this type's root node. |
| static bool CreateRoot(syncer::ModelType model_type, |
| syncer::UserShare* service); |
| + |
|
Nicolas Zea
2012/11/16 19:42:27
remove extra newline
rlarocque
2012/11/17 00:07:21
Done.
|
| private: |
| scoped_ptr<TestDirectorySetterUpper> dir_maker_; |
| scoped_ptr<UserShare> user_share_; |