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

Unified Diff: chrome/browser/extensions/settings/settings_quota_unittest.cc

Issue 10545128: Unrevert r141537: Add extensions::StateStore and use that instead of (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix.crash 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/extensions/settings/settings_quota_unittest.cc
diff --git a/chrome/browser/extensions/settings/settings_quota_unittest.cc b/chrome/browser/extensions/settings/settings_quota_unittest.cc
index 947e248d335ec74b44dd79a66097c981be66b542..c8b66c62c69a5fdfa72874ff8d1eaf2c4f77cd5b 100644
--- a/chrome/browser/extensions/settings/settings_quota_unittest.cc
+++ b/chrome/browser/extensions/settings/settings_quota_unittest.cc
@@ -25,7 +25,7 @@ class ExtensionSettingsQuotaTest : public testing::Test {
: byte_value_1_(Value::CreateIntegerValue(1)),
byte_value_16_(Value::CreateStringValue("sixteen bytes.")),
byte_value_256_(new ListValue()),
- delegate_(new TestingSettingsStorage()) {
+ delegate_(new TestingValueStore()) {
for (int i = 1; i < 89; ++i) {
byte_value_256_->Append(Value::CreateIntegerValue(i));
}
@@ -72,7 +72,7 @@ class ExtensionSettingsQuotaTest : public testing::Test {
scoped_ptr<SettingsStorageQuotaEnforcer> storage_;
// In-memory storage area being delegated to. Always owned by |storage_|.
- TestingSettingsStorage* delegate_;
+ TestingValueStore* delegate_;
};
TEST_F(ExtensionSettingsQuotaTest, ZeroQuotaBytes) {
« no previous file with comments | « chrome/browser/extensions/settings/settings_backend.cc ('k') | chrome/browser/extensions/settings/settings_sync_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698