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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « no previous file | components/sync/core/base_node.cc » ('j') | components/sync/core/write_node.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SYNC_CORE_BASE_NODE_H_ 5 #ifndef COMPONENTS_SYNC_CORE_BASE_NODE_H_
6 #define COMPONENTS_SYNC_CORE_BASE_NODE_H_ 6 #define COMPONENTS_SYNC_CORE_BASE_NODE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 const sync_pb::BookmarkSpecifics& GetBookmarkSpecifics() const; 122 const sync_pb::BookmarkSpecifics& GetBookmarkSpecifics() const;
123 123
124 // Getter specific to the NIGORI datatype. Returns protobuf 124 // Getter specific to the NIGORI datatype. Returns protobuf
125 // data. Can only be called if GetModelType() == NIGORI. 125 // data. Can only be called if GetModelType() == NIGORI.
126 const sync_pb::NigoriSpecifics& GetNigoriSpecifics() const; 126 const sync_pb::NigoriSpecifics& GetNigoriSpecifics() const;
127 127
128 // Getter specific to the PASSWORD datatype. Returns protobuf 128 // Getter specific to the PASSWORD datatype. Returns protobuf
129 // data. Can only be called if GetModelType() == PASSWORD. 129 // data. Can only be called if GetModelType() == PASSWORD.
130 const sync_pb::PasswordSpecificsData& GetPasswordSpecifics() const; 130 const sync_pb::PasswordSpecificsData& GetPasswordSpecifics() const;
131 131
132 // Getter specific to the PASSWORD datatype. Returns protobuf
133 // metadata. Can only be called if GetModelType() == PASSWORD.
134 const sync_pb::PasswordSpecificsMetadata& GetPasswordSpecificsMetadata()
135 const;
136
132 // Getter specific to the TYPED_URLS datatype. Returns protobuf 137 // Getter specific to the TYPED_URLS datatype. Returns protobuf
133 // data. Can only be called if GetModelType() == TYPED_URLS. 138 // data. Can only be called if GetModelType() == TYPED_URLS.
134 const sync_pb::TypedUrlSpecifics& GetTypedUrlSpecifics() const; 139 const sync_pb::TypedUrlSpecifics& GetTypedUrlSpecifics() const;
135 140
136 // Getter specific to the EXPERIMENTS datatype. Returns protobuf 141 // Getter specific to the EXPERIMENTS datatype. Returns protobuf
137 // data. Can only be called if GetModelType() == EXPERIMENTS. 142 // data. Can only be called if GetModelType() == EXPERIMENTS.
138 const sync_pb::ExperimentsSpecifics& GetExperimentsSpecifics() const; 143 const sync_pb::ExperimentsSpecifics& GetExperimentsSpecifics() const;
139 144
140 const sync_pb::EntitySpecifics& GetEntitySpecifics() const; 145 const sync_pb::EntitySpecifics& GetEntitySpecifics() const;
141 146
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
234 239
235 // Same as |unencrypted_data_|, but for legacy password encryption. 240 // Same as |unencrypted_data_|, but for legacy password encryption.
236 std::unique_ptr<sync_pb::PasswordSpecificsData> password_data_; 241 std::unique_ptr<sync_pb::PasswordSpecificsData> password_data_;
237 242
238 DISALLOW_COPY_AND_ASSIGN(BaseNode); 243 DISALLOW_COPY_AND_ASSIGN(BaseNode);
239 }; 244 };
240 245
241 } // namespace syncer 246 } // namespace syncer
242 247
243 #endif // COMPONENTS_SYNC_CORE_BASE_NODE_H_ 248 #endif // COMPONENTS_SYNC_CORE_BASE_NODE_H_
OLDNEW
« 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