Chromium Code Reviews| Index: chrome/browser/extensions/api/storage/policy_value_store.cc |
| diff --git a/chrome/browser/extensions/api/storage/policy_value_store.cc b/chrome/browser/extensions/api/storage/policy_value_store.cc |
| index f5da68205785a23105b728cac0fa2feef3c39eba..fdb3c212dcdd5986f0899560c513915671407243 100644 |
| --- a/chrome/browser/extensions/api/storage/policy_value_store.cc |
| +++ b/chrome/browser/extensions/api/storage/policy_value_store.cc |
| @@ -161,4 +161,12 @@ ValueStore::WriteResult PolicyValueStore::Clear() { |
| return MakeWriteResult(ReadOnlyError(util::NoKey())); |
| } |
| +bool PolicyValueStore::Restore() { |
| + return delegate_->Restore(); |
|
not at google - send to devlin
2014/02/14 19:35:56
We should be able to restore from policy?
+joaoda
Devlin
2014/02/18 23:55:22
I think so, yes. The Policy stores, even though t
Joao da Silva
2014/02/19 08:32:03
This is fine. The PolicyValueStore is used to dete
not at google - send to devlin
2014/02/19 17:55:59
Ok. So there's no reason to restore them now? Devl
Joao da Silva
2014/02/19 18:05:43
I don't know how LevelDB handles corrupted databas
not at google - send to devlin
2014/02/19 18:13:53
Restore on the leveldb instance is really just for
|
| +} |
| + |
| +bool PolicyValueStore::RestoreKey(const std::string& key) { |
| + return delegate_->RestoreKey(key); |
| +} |
| + |
| } // namespace extensions |