summaryrefslogtreecommitdiffstats
path: root/sync/sync_tests.gypi
diff options
context:
space:
mode:
authorrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:34:30 +0000
committerrlarocque@chromium.org <rlarocque@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-26 18:34:30 +0000
commit35a317204e3c4ec6165fc8125670d0d9af312be1 (patch)
tree7abee14a047ab7928ef1812cfa2373c1173f2a79 /sync/sync_tests.gypi
parent9f3f286a4c0246ff07386f86820cd1d32d56e377 (diff)
downloadchromium_src-35a317204e3c4ec6165fc8125670d0d9af312be1.zip
chromium_src-35a317204e3c4ec6165fc8125670d0d9af312be1.tar.gz
chromium_src-35a317204e3c4ec6165fc8125670d0d9af312be1.tar.bz2
sync: Introduce CryptographerProvider interface
Creates a CryptographerProvider interface that can be used to expose the syncable::Directory's Cryptographer without exposing the directory itself. Since the directory's cryptographer is protected by a lock, this requires the creation of several helper classes to manage the acquistion of the lock. This CL includes the interface, an implementationthat exposes the directory's cryptographer (DirectoryCryptographerProvider) and a SimpleCryptographerProvider that wraps a non-owned Cryptographer for testing purposes. These interfaces will be used to implement and test encryption of non-blocking sync types. BUG=351005 Review URL: https://codereview.chromium.org/413833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@285777 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync/sync_tests.gypi')
-rw-r--r--sync/sync_tests.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/sync/sync_tests.gypi b/sync/sync_tests.gypi
index 31ac9f9..5c84c25 100644
--- a/sync/sync_tests.gypi
+++ b/sync/sync_tests.gypi
@@ -50,6 +50,8 @@
'test/engine/mock_nudge_handler.h',
'test/engine/mock_update_handler.cc',
'test/engine/mock_update_handler.h',
+ 'test/engine/simple_cryptographer_provider.cc',
+ 'test/engine/simple_cryptographer_provider.h',
'test/engine/single_type_mock_server.cc',
'test/engine/single_type_mock_server.h',
'test/engine/test_directory_setter_upper.cc',