| Index: extensions/browser/api/storage/storage_api.cc
|
| diff --git a/extensions/browser/api/storage/storage_api.cc b/extensions/browser/api/storage/storage_api.cc
|
| index a29bed886b0186b4c99f3572c480ebec3943df6d..f44884197b06c709da3453cd7a240f2bc3b22bfc 100644
|
| --- a/extensions/browser/api/storage/storage_api.cc
|
| +++ b/extensions/browser/api/storage/storage_api.cc
|
| @@ -41,7 +41,7 @@ bool SettingsFunction::ShouldSkipQuotaLimiting() const {
|
| ExtensionFunction::ResponseAction SettingsFunction::Run() {
|
| std::string settings_namespace_string;
|
| EXTENSION_FUNCTION_VALIDATE(args_->GetString(0, &settings_namespace_string));
|
| - args_->Remove(0, NULL);
|
| + args_->Remove(0, nullptr);
|
| settings_namespace_ =
|
| settings_namespace::FromString(settings_namespace_string);
|
| EXTENSION_FUNCTION_VALIDATE(settings_namespace_ !=
|
| @@ -176,7 +176,7 @@ void GetModificationQuotaLimitHeuristics(QuotaLimitHeuristics* heuristics) {
|
|
|
| ExtensionFunction::ResponseValue StorageStorageAreaGetFunction::RunWithStorage(
|
| ValueStore* storage) {
|
| - base::Value* input = NULL;
|
| + base::Value* input = nullptr;
|
| if (!args_->Get(0, &input))
|
| return BadMessage();
|
|
|
| @@ -219,7 +219,7 @@ ExtensionFunction::ResponseValue StorageStorageAreaGetFunction::RunWithStorage(
|
|
|
| ExtensionFunction::ResponseValue
|
| StorageStorageAreaGetBytesInUseFunction::RunWithStorage(ValueStore* storage) {
|
| - base::Value* input = NULL;
|
| + base::Value* input = nullptr;
|
| if (!args_->Get(0, &input))
|
| return BadMessage();
|
|
|
| @@ -255,7 +255,7 @@ StorageStorageAreaGetBytesInUseFunction::RunWithStorage(ValueStore* storage) {
|
|
|
| ExtensionFunction::ResponseValue StorageStorageAreaSetFunction::RunWithStorage(
|
| ValueStore* storage) {
|
| - base::DictionaryValue* input = NULL;
|
| + base::DictionaryValue* input = nullptr;
|
| if (!args_->GetDictionary(0, &input))
|
| return BadMessage();
|
| return UseWriteResult(storage->Set(ValueStore::DEFAULTS, *input), storage);
|
| @@ -268,7 +268,7 @@ void StorageStorageAreaSetFunction::GetQuotaLimitHeuristics(
|
|
|
| ExtensionFunction::ResponseValue
|
| StorageStorageAreaRemoveFunction::RunWithStorage(ValueStore* storage) {
|
| - base::Value* input = NULL;
|
| + base::Value* input = nullptr;
|
| if (!args_->Get(0, &input))
|
| return BadMessage();
|
|
|
|
|