This source file includes following definitions.
- GetBytesInUse
- GetBytesInUse
- GetBytesInUse
- Get
- Get
- Get
- Remove
- Remove
- Clear
- Restore
- RestoreKey
#include "extensions/browser/api/storage/weak_unlimited_settings_storage.h"
namespace extensions {
WeakUnlimitedSettingsStorage::WeakUnlimitedSettingsStorage(
ValueStore* delegate)
: delegate_(delegate) {}
WeakUnlimitedSettingsStorage::~WeakUnlimitedSettingsStorage() {}
size_t WeakUnlimitedSettingsStorage::GetBytesInUse(const std::string& key) {
return delegate_->GetBytesInUse(key);
}
size_t WeakUnlimitedSettingsStorage::GetBytesInUse(
const std::vector<std::string>& keys) {
return delegate_->GetBytesInUse(keys);
}
size_t WeakUnlimitedSettingsStorage::GetBytesInUse() {
return delegate_->GetBytesInUse();
}
ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get(
const std::string& key) {
return delegate_->Get(key);
}
ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get(
const std::vector<std::string>& keys) {
return delegate_->Get(keys);
}
ValueStore::ReadResult WeakUnlimitedSettingsStorage::Get() {
return delegate_->Get();
}
ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set(
WriteOptions options, const std::string& key, const base::Value& value) {
return delegate_->Set(IGNORE_QUOTA, key, value);
}
ValueStore::WriteResult WeakUnlimitedSettingsStorage::Set(
WriteOptions options, const base::DictionaryValue& values) {
return delegate_->Set(IGNORE_QUOTA, values);
}
ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove(
const std::string& key) {
return delegate_->Remove(key);
}
ValueStore::WriteResult WeakUnlimitedSettingsStorage::Remove(
const std::vector<std::string>& keys) {
return delegate_->Remove(keys);
}
ValueStore::WriteResult WeakUnlimitedSettingsStorage::Clear() {
return delegate_->Clear();
}
bool WeakUnlimitedSettingsStorage::Restore() { return delegate_->Restore(); }
bool WeakUnlimitedSettingsStorage::RestoreKey(const std::string& key) {
return delegate_->RestoreKey(key);
}
}