| Index: components/sync/core/write_node.h
|
| diff --git a/components/sync/core/write_node.h b/components/sync/core/write_node.h
|
| index 1c23cb3d57dc289aedbcb806a2998c49c2ce7e61..c3d2af605a48e44f6a5dbc2b50526e121c3c2a26 100644
|
| --- a/components/sync/core/write_node.h
|
| +++ b/components/sync/core/write_node.h
|
| @@ -15,6 +15,7 @@
|
| #include "base/gtest_prod_util.h"
|
| #include "base/macros.h"
|
| #include "components/sync/base/model_type.h"
|
| +#include "components/sync/base/passphrase_type.h"
|
| #include "components/sync/core/base_node.h"
|
|
|
| namespace sync_pb {
|
| @@ -121,6 +122,9 @@ class WriteNode : public BaseNode {
|
| // Generic set specifics method. Will extract the model type from |specifics|.
|
| void SetEntitySpecifics(const sync_pb::EntitySpecifics& specifics);
|
|
|
| + void SetEntitySpecifics(const sync_pb::EntitySpecifics& specifics,
|
| + PassphraseType passphrase_type);
|
| +
|
| // Resets the EntitySpecifics for this node based on the unencrypted data.
|
| // Will encrypt if necessary.
|
| void ResetFromSpecifics();
|
| @@ -134,7 +138,8 @@ class WriteNode : public BaseNode {
|
|
|
| // Set the password specifics.
|
| // Should only be called if GetModelType() == PASSWORD.
|
| - void SetPasswordSpecifics(const sync_pb::PasswordSpecificsData& specifics);
|
| + void SetPasswordSpecifics(const sync_pb::PasswordSpecificsData& specifics,
|
| + PassphraseType passphrase_type);
|
|
|
| // Set the typed_url specifics (url, title, typed_count, etc).
|
| // Should only be called if GetModelType() == TYPED_URLS.
|
|
|