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

Unified Diff: sync/test/engine/test_directory_setter_upper.cc

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/test/engine/test_directory_setter_upper.h ('k') | sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/test/engine/test_directory_setter_upper.cc
diff --git a/sync/test/engine/test_directory_setter_upper.cc b/sync/test/engine/test_directory_setter_upper.cc
index 1a683897c53b06ca32c7635c4a712b4aacb20433..318900d824bb284fc9e346b9bfa0c777ae6c3adf 100644
--- a/sync/test/engine/test_directory_setter_upper.cc
+++ b/sync/test/engine/test_directory_setter_upper.cc
@@ -23,8 +23,12 @@ TestDirectorySetterUpper::TestDirectorySetterUpper() : name_("Test") {}
TestDirectorySetterUpper::~TestDirectorySetterUpper() {}
void TestDirectorySetterUpper::SetUp() {
- directory_.reset(new syncable::Directory(&encryptor_, &handler_, NULL,
- new syncable::InMemoryDirectoryBackingStore(name_)));
+ directory_.reset(new syncable::Directory(
+ new syncable::InMemoryDirectoryBackingStore(name_),
+ &handler_,
+ NULL,
+ &encryption_handler_,
+ encryption_handler_.cryptographer()));
ASSERT_TRUE(temp_dir_.CreateUniqueTempDir());
ASSERT_EQ(syncable::OPENED, directory_->Open(
name_, &delegate_, NullTransactionObserver()));
« no previous file with comments | « sync/test/engine/test_directory_setter_upper.h ('k') | sync/test/fake_sync_encryption_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698