Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(52)

Side by Side Diff: chrome/browser/value_store/value_store_util.cc

Issue 24021002: Propagate more information about ValueStore errors to callers, notably an (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add Pass*() Created 7 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/value_store/value_store_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
OLDNEW
« no previous file with comments | « chrome/browser/value_store/value_store_util.h ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698