Index: sync/util/cryptographer.h |
diff --git a/sync/util/cryptographer.h b/sync/util/cryptographer.h |
index 6f9ab5c399021c5dd2c6ed75f566389ac89491de..77a164f75a7e508237c4320b04e336ca1dbcf9a9 100644 |
--- a/sync/util/cryptographer.h |
+++ b/sync/util/cryptographer.h |
@@ -11,7 +11,6 @@ |
#include "base/gtest_prod_util.h" |
#include "base/memory/linked_ptr.h" |
#include "base/memory/scoped_ptr.h" |
-#include "sync/internal_api/public/base/model_type.h" |
#include "sync/protocol/encryption.pb.h" |
#include "sync/util/nigori.h" |
@@ -24,11 +23,6 @@ namespace syncer { |
class Encryptor; |
-namespace syncable { |
-class BaseTransaction; |
-class NigoriHandler; |
-} |
- |
extern const char kNigoriTag[]; |
// The parameters used to initialize a Nigori instance. |
@@ -58,19 +52,6 @@ class Cryptographer { |
explicit Cryptographer(Encryptor* encryptor); |
~Cryptographer(); |
- // Set the sync nigori node handler. |
- // TODO(zea): refactor so that Cryptographer doesn't need any connection |
- // to a NigoriHandler. crbug.com/139848 |
- void SetNigoriHandler(syncable::NigoriHandler* delegate); |
- |
- // NigoriHandler delegator methods (passes through to delegate). |
- void ApplyNigoriUpdate(const sync_pb::NigoriSpecifics& nigori, |
- syncable::BaseTransaction* const trans); |
- void UpdateNigoriFromEncryptedTypes( |
- sync_pb::NigoriSpecifics* nigori, |
- syncable::BaseTransaction* const trans) const; |
- ModelTypeSet GetEncryptedTypes() const; |
- |
// |restored_bootstrap_token| can be provided via this method to bootstrap |
// Cryptographer instance into the ready state (is_ready will be true). |
// It must be a string that was previously built by the |
@@ -209,10 +190,6 @@ class Cryptographer { |
scoped_ptr<sync_pb::EncryptedData> pending_keys_; |
- // The sync nigori node handler. Necessary until we decouple the encrypted |
- // types from the cryptographer. |
- syncable::NigoriHandler* nigori_node_handler_; |
- |
DISALLOW_COPY_AND_ASSIGN(Cryptographer); |
}; |