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.
5 #include "extensions/browser/value_store/value_store_util.h"
7 namespace value_store_util
{
9 scoped_ptr
<std::string
> NewKey(const std::string
& key
) {
10 return make_scoped_ptr(new std::string(key
));
13 scoped_ptr
<std::string
> NoKey() {
14 return scoped_ptr
<std::string
>();
17 scoped_ptr
<ValueStore::Error
> NoError() {
18 return scoped_ptr
<ValueStore::Error
>();
21 } // namespace value_store_util