HomeSort by relevance Sort by last modified time
    Searched refs:cryptographer_ (Results 1 - 12 of 12) sorted by null

  /external/chromium_org/sync/util/
cryptographer_unittest.cc 26 CryptographerTest() : cryptographer_(&encryptor_) {}
29 Cryptographer cryptographer_; member in class:syncer::CryptographerTest
33 EXPECT_FALSE(cryptographer_.is_ready());
39 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted));
43 EXPECT_FALSE(cryptographer_.is_ready());
47 EXPECT_FALSE(cryptographer_.Encrypt(original, &encrypted));
52 cryptographer_.AddKey(params);
53 EXPECT_TRUE(cryptographer_.is_ready());
59 EXPECT_FALSE(cryptographer_.CanDecrypt(encrypted));
64 EXPECT_TRUE(cryptographer_.AddKey(params))
    [all...]
  /external/chromium_org/sync/test/
fake_sync_encryption_handler.cc 16 cryptographer_(&encryptor_) {
23 cryptographer_.AddKey(keystore_params);
35 if (cryptographer_.CanDecrypt(nigori.encryption_keybag()))
36 cryptographer_.InstallKeys(nigori.encryption_keybag());
38 cryptographer_.SetPendingKeys(nigori.encryption_keybag());
40 if (cryptographer_.has_pending_keys()) {
42 sync_pb::EncryptedData pending_keys = cryptographer_.GetPendingKeys();
46 } else if (!cryptographer_.is_ready()) {
fake_sync_encryption_handler.h 57 Cryptographer* cryptographer() { return &cryptographer_; }
66 Cryptographer cryptographer_; member in class:syncer::FakeSyncEncryptionHandler
  /external/chromium_org/sync/engine/
model_type_sync_worker_impl.cc 31 cryptographer_(cryptographer.Pass()),
50 if (cryptographer_) {
52 << cryptographer_->GetDefaultNigoriKeyName();
66 return !!cryptographer_;
72 cryptographer_ = cryptographer.Pass();
157 } else if (specifics.has_encrypted() && cryptographer_ &&
158 cryptographer_->CanDecrypt(specifics.encrypted())) {
161 cryptographer_.get(), specifics, &response_data.specifics)) {
167 (!cryptographer_ ||
168 !cryptographer_->CanDecrypt(specifics.encrypted())))
    [all...]
update_applicator.h 66 Cryptographer* cryptographer_; member in class:syncer::UpdateApplicator
update_applicator.cc 23 : cryptographer_(cryptographer),
59 trans, &entry, cryptographer_);
model_type_sync_worker_impl_unittest.cc 201 scoped_ptr<Cryptographer> cryptographer_; member in class:syncer::ModelTypeSyncWorkerImplTest
277 if (cryptographer_) {
278 cryptographer_copy.reset(new Cryptographer(*cryptographer_));
290 if (!cryptographer_) {
291 cryptographer_.reset(new Cryptographer(&fake_encryptor_));
326 cryptographer_->SetPendingKeys(encrypted);
331 make_scoped_ptr<Cryptographer>(new Cryptographer(*cryptographer_)));
336 if (!cryptographer_) {
337 cryptographer_.reset(new Cryptographer(&fake_encryptor_));
341 bool success = cryptographer_->DecryptPendingKeys(params)
    [all...]
model_type_sync_worker_impl.h 149 scoped_ptr<Cryptographer> cryptographer_; member in class:syncer::ModelTypeSyncWorkerImpl
  /external/chromium_org/sync/sessions/
model_type_registry.cc 203 cryptographer_copy.reset(new Cryptographer(*cryptographer_));
330 cryptographer_.reset(new Cryptographer(*cryptographer));
349 make_scoped_ptr(new Cryptographer(*cryptographer_)));
model_type_registry.h 137 scoped_ptr<Cryptographer> cryptographer_; member in class:syncer::ModelTypeRegistry
  /external/chromium_org/sync/syncable/
directory.h 639 Cryptographer* const cryptographer_; member in class:syncer::syncable::Directory
directory.cc 112 cryptographer_(cryptographer),
    [all...]

Completed in 101 milliseconds