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

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

Issue 10537116: Revert 141514 - Remove CachingValueStore in favor of an async ValueStoreFrontend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 6 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
Property Changes:
Added: svn:mergeinfo
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "base/file_util.h" 5 #include "base/file_util.h"
6 #include "base/memory/scoped_ptr.h" 6 #include "base/memory/scoped_ptr.h"
7 #include "base/message_loop.h" 7 #include "base/message_loop.h"
8 #include "base/path_service.h" 8 #include "base/path_service.h"
9 #include "base/scoped_temp_dir.h" 9 #include "base/scoped_temp_dir.h"
10 #include "chrome/browser/value_store/caching_value_store.h" 10 #include "chrome/browser/value_store/caching_value_store.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 { 105 {
106 ASSERT_TRUE(storage_->Get("key1", &value)); 106 ASSERT_TRUE(storage_->Get("key1", &value));
107 std::string result; 107 std::string result;
108 ASSERT_TRUE(value->GetAsString(&result)); 108 ASSERT_TRUE(value->GetAsString(&result));
109 EXPECT_EQ("new1", result); 109 EXPECT_EQ("new1", result);
110 } 110 }
111 111
112 ASSERT_FALSE(storage_->Get("key2", &value)); 112 ASSERT_FALSE(storage_->Get("key2", &value));
113 } 113 }
OLDNEW
« no previous file with comments | « chrome/browser/value_store/caching_value_store.cc ('k') | chrome/browser/value_store/value_store_frontend.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698