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

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

Issue 10844005: [Sync] Refactor GetEncryptedTypes usage. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + add dcheck Created 8 years, 4 months 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/base_transaction.h ('k') | sync/internal_api/sync_encryption_handler_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 ea811a1750b657d17e7724990da6fc07ba10d1c5..5322d909615f411b43852af82e9e24ea7742ee63 100644
--- a/sync/internal_api/public/test/test_user_share.h
+++ b/sync/internal_api/public/test/test_user_share.h
@@ -35,6 +35,8 @@
namespace syncer {
+class SyncEncryptionHandler;
+
class TestDirectorySetterUpper;
class TestUserShare {
@@ -55,6 +57,10 @@ class TestUserShare {
// Non-NULL iff called between a call to SetUp() and TearDown().
UserShare* user_share();
+ // Sync's encryption handler. Used by tests to invoke the sync encryption
+ // methods normally handled via the SyncBackendHost
+ SyncEncryptionHandler* encryption_handler();
+
private:
scoped_ptr<TestDirectorySetterUpper> dir_maker_;
scoped_ptr<UserShare> user_share_;
« no previous file with comments | « sync/internal_api/public/base_transaction.h ('k') | sync/internal_api/sync_encryption_handler_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698