This source file includes following definitions.
- key
#include "extensions/browser/value_store/value_store.h"
#include "base/logging.h"
ValueStore::Error::Error(ErrorCode code,
const std::string& message,
scoped_ptr<std::string> key)
: code(code), message(message), key(key.Pass()) {}
ValueStore::Error::~Error() {}
ValueStore::ReadResultType::ReadResultType(
scoped_ptr<base::DictionaryValue> settings) : settings_(settings.Pass()) {
CHECK(settings_);
}
ValueStore::ReadResultType::ReadResultType(scoped_ptr<Error> error)
: error_(error.Pass()) {
CHECK(error_);
}
ValueStore::ReadResultType::~ReadResultType() {}
ValueStore::WriteResultType::WriteResultType(
scoped_ptr<ValueStoreChangeList> changes)
: changes_(changes.Pass()) {
CHECK(changes_);
}
ValueStore::WriteResultType::WriteResultType(scoped_ptr<Error> error)
: error_(error.Pass()) {
CHECK(error_);
}
ValueStore::WriteResultType::~WriteResultType() {}