1// Copyright 2014 The Chromium Authors. All rights reserved. 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5#include "extensions/browser/value_store/value_store_util.h" 6 7namespace value_store_util { 8 9scoped_ptr<std::string> NewKey(const std::string& key) { 10 return make_scoped_ptr(new std::string(key)); 11} 12 13scoped_ptr<std::string> NoKey() { 14 return scoped_ptr<std::string>(); 15} 16 17scoped_ptr<ValueStore::Error> NoError() { 18 return scoped_ptr<ValueStore::Error>(); 19} 20 21} // namespace value_store_util 22