Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / value_store / value_store_util.cc
blob6924803d2a7e3ba2d184059699d8217fc742908b
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.
5 #include "chrome/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