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

Unified Diff: sync/internal_api/public/test/test_user_share.h

Issue 11360259: Sync: Add DeviceInfo's ChangeProcessor (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix sync_client.cc Created 8 years, 1 month 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
« no previous file with comments | « sync/internal_api/public/test/fake_sync_manager.h ('k') | sync/internal_api/sync_manager_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..65889459b7fd46d849e82a05b8d5c0e020790ca4 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 TestTransactionObserver;
+}
+
class TestUserShare {
public:
TestUserShare();
@@ -61,6 +65,10 @@ 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::TestTransactionObserver* transaction_observer();
+
// A helper function to pretend to download this type's root node.
static bool CreateRoot(syncer::ModelType model_type,
syncer::UserShare* service);
« no previous file with comments | « sync/internal_api/public/test/fake_sync_manager.h ('k') | sync/internal_api/sync_manager_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698