Home | History | Annotate | Download | only in value_store
      1 // Copyright 2013 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 "chrome/browser/value_store/value_store_util.h"
      6 
      7 namespace value_store_util {
      8 
      9 scoped_ptr<std::string> NewKey(const std::string& key) {
     10   return make_scoped_ptr(new std::string(key));
     11 }
     12 
     13 scoped_ptr<std::string> NoKey() {
     14   return scoped_ptr<std::string>();
     15 }
     16 
     17 scoped_ptr<ValueStore::Error> NoError() {
     18   return scoped_ptr<ValueStore::Error>();
     19 }
     20 
     21 }  // namespace value_store_util
     22