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

Unified Diff: chrome/browser/extensions/extension_settings_cached_leveldb_storage_unittest.cc

Issue 7189029: Implement an initial extension settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Make clang happy Created 9 years, 4 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/extension_settings_cached_leveldb_storage_unittest.cc
diff --git a/chrome/browser/extensions/extension_settings_cached_leveldb_storage_unittest.cc b/chrome/browser/extensions/extension_settings_cached_leveldb_storage_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..0fdb585541355e1e5b618eecdb7c8e9aece93396
--- /dev/null
+++ b/chrome/browser/extensions/extension_settings_cached_leveldb_storage_unittest.cc
@@ -0,0 +1,25 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/extensions/extension_settings_storage_unittest.h"
+
+namespace {
+
+void Param(
+ ExtensionSettings* settings,
+ const std::string& extension_id,
+ const ExtensionSettings::Callback& callback) {
+ settings->GetStorageForTesting(
+ ExtensionSettingsStorage::LEVELDB,
+ true,
+ extension_id,
+ callback);
+}
+
+} // namespace
+
+INSTANTIATE_TEST_CASE_P(
+ ExtensionSettingsCachedLeveldbStorage,
+ ExtensionSettingsStorageTest,
+ testing::Values(&Param));

Powered by Google App Engine
This is Rietveld 408576698