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/base_node.h

Issue 2260953002: Supplimentary identifier for passwords specific (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cl format 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/base_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/base_node.h
diff --git a/components/sync/core/base_node.h b/components/sync/core/base_node.h
index 6a362ef98257965d9fad1cfa961d86f94858b83c..b8050f5b7f3ab83212ec84119650dec55f794ab4 100644
--- a/components/sync/core/base_node.h
+++ b/components/sync/core/base_node.h
@@ -129,6 +129,11 @@ class BaseNode {
// data. Can only be called if GetModelType() == PASSWORD.
const sync_pb::PasswordSpecificsData& GetPasswordSpecifics() const;
+ // Getter specific to the PASSWORD datatype. Returns protobuf
+ // metadata. Can only be called if GetModelType() == PASSWORD.
+ const sync_pb::PasswordSpecificsMetadata& GetPasswordSpecificsMetadata()
+ const;
+
// Getter specific to the TYPED_URLS datatype. Returns protobuf
// data. Can only be called if GetModelType() == TYPED_URLS.
const sync_pb::TypedUrlSpecifics& GetTypedUrlSpecifics() const;
« no previous file with comments | « no previous file | components/sync/core/base_node.cc » ('j') | components/sync/core/write_node.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698