Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Unified Diff: components/sync/core/write_node.h

Issue 2278333002: Supplimentary identifier for passwords specific (Closed)
Patch Set: cleanup Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | components/sync/core/write_node.cc » ('j') | components/sync/core/write_node.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
« no previous file with comments | « no previous file | components/sync/core/write_node.cc » ('j') | components/sync/core/write_node.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698