| Index: sync/syncable/directory.cc
|
| diff --git a/sync/syncable/directory.cc b/sync/syncable/directory.cc
|
| index 77979ae10930c033318c87840f3f6413395ec866..644a4e20eefc5913b2a29365d807d83484b7d295 100644
|
| --- a/sync/syncable/directory.cc
|
| +++ b/sync/syncable/directory.cc
|
| @@ -710,6 +710,19 @@ void Directory::set_store_birthday(const string& store_birthday) {
|
| kernel_->info_status = KERNEL_SHARE_INFO_DIRTY;
|
| }
|
|
|
| +string Directory::bag_of_chips() const {
|
| + ScopedKernelLock lock(this);
|
| + return kernel_->persisted_info.bag_of_chips;
|
| +}
|
| +
|
| +void Directory::set_bag_of_chips(const string& bag_of_chips) {
|
| + ScopedKernelLock lock(this);
|
| + if (kernel_->persisted_info.bag_of_chips == bag_of_chips)
|
| + return;
|
| + kernel_->persisted_info.bag_of_chips = bag_of_chips;
|
| + kernel_->info_status = KERNEL_SHARE_INFO_DIRTY;
|
| +}
|
| +
|
| std::string Directory::GetNotificationState() const {
|
| ScopedKernelLock lock(this);
|
| std::string notification_state = kernel_->persisted_info.notification_state;
|
|
|