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

Unified Diff: components/sync/model_impl/processor_entity_tracker.cc

Issue 2864713002: [USS] Add function for update storage key for processor (Closed)
Patch Set: nit Created 3 years, 7 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
Index: components/sync/model_impl/processor_entity_tracker.cc
diff --git a/components/sync/model_impl/processor_entity_tracker.cc b/components/sync/model_impl/processor_entity_tracker.cc
index c468d464f482399defc4b40469a4251996dd29b0..7d0b6b331982e95c17beaa33630fefb2932e3165 100644
--- a/components/sync/model_impl/processor_entity_tracker.cc
+++ b/components/sync/model_impl/processor_entity_tracker.cc
@@ -61,6 +61,10 @@ ProcessorEntityTracker::ProcessorEntityTracker(
ProcessorEntityTracker::~ProcessorEntityTracker() {}
+void ProcessorEntityTracker::SetStorageKey(const std::string& new_key) {
+ storage_key_ = new_key;
+}
+
void ProcessorEntityTracker::SetCommitData(EntityData* data) {
DCHECK(data);
// Update data's fields from metadata.
« no previous file with comments | « components/sync/model_impl/processor_entity_tracker.h ('k') | components/sync/model_impl/shared_model_type_processor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698