HomeSort by relevance Sort by last modified time
    Searched defs:cryptographer (Results 1 - 5 of 5) sorted by null

  /external/chromium/chrome/browser/sync/util/
cryptographer_unittest.cc 5 #include "chrome/browser/sync/util/cryptographer.h"
18 Cryptographer cryptographer; local
19 EXPECT_FALSE(cryptographer.is_ready());
25 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted));
29 Cryptographer cryptographer; local
32 cryptographer.AddKey(params);
33 EXPECT_TRUE(cryptographer.is_ready());
39 EXPECT_FALSE(cryptographer.CanDecrypt(encrypted))
43 Cryptographer cryptographer; local
64 Cryptographer cryptographer; local
110 Cryptographer cryptographer; local
121 Cryptographer cryptographer; local
156 Cryptographer cryptographer; local
    [all...]
  /external/chromium/chrome/browser/sync/engine/
apply_updates_command_unittest.cc 218 Cryptographer* cryptographer; local
220 // Storing the cryptographer separately is bad, but for this test we
225 cryptographer =
230 cryptographer->AddKey(params);
236 cryptographer->Encrypt(data,
280 Cryptographer* cryptographer = local
284 cryptographer->AddKey(params);
286 cryptographer->Encrypt(data
293 Cryptographer cryptographer; local
321 Cryptographer* cryptographer; local
365 Cryptographer* cryptographer; local
459 Cryptographer* cryptographer; local
    [all...]
syncapi_unittest.cc 38 #include "chrome/browser/sync/util/cryptographer.h"
45 using browser_sync::Cryptographer;
721 // Set the nigori cryptographer information.
723 Cryptographer* cryptographer = trans.GetCryptographer(); local
724 if (!cryptographer)
727 cryptographer->AddKey(params);
729 cryptographer->GetKeys(nigori.mutable_encrypted());
733 return cryptographer->is_ready();
    [all...]
syncapi.cc 73 using browser_sync::Cryptographer;
202 const sync_pb::EntitySpecifics& specifics, Cryptographer* crypto) {
561 Cryptographer* cryptographer = GetTransaction()->GetCryptographer(); local
570 DecryptPasswordSpecifics(GetEntry()->Get(SPECIFICS), cryptographer)); local
573 cryptographer->CanDecryptUsingDefaultKey(old_ciphertext)) {
578 if (!cryptographer->Encrypt(data, new_value.mutable_encrypted())) {
1778 Cryptographer* cryptographer = trans.GetCryptographer(); local
1949 Cryptographer* cryptographer = trans.GetCryptographer(); local
2497 Cryptographer* cryptographer = trans.GetCryptographer(); local
    [all...]
  /external/chromium/chrome/browser/sync/syncable/
directory_manager.h 24 #include "chrome/browser/sync/util/cryptographer.h"
76 // Wrappers for cryptographer() that enforce holding a transaction.
77 // Note: the Cryptographer is NOT thread safe. It must only be accessed while
78 // the transaction is still active. The Cryptographer's pointer should not be
80 browser_sync::Cryptographer* GetCryptographer(
81 const sync_api::BaseTransaction* trans) const { return cryptographer(); }
82 browser_sync::Cryptographer* GetCryptographer(
83 const syncable::BaseTransaction* trans) const { return cryptographer(); }
86 browser_sync::Cryptographer* cryptographer() const function in class:syncable::DirectoryManager
    [all...]

Completed in 59 milliseconds