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

Unified Diff: chrome/browser/extensions/extension_settings_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: Use base::Closure for storage callback, style fixes, mac/windows fixes Created 9 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/extension_settings_leveldb_storage_unittest.cc
diff --git a/chrome/browser/extensions/extension_settings_leveldb_storage_unittest.cc b/chrome/browser/extensions/extension_settings_leveldb_storage_unittest.cc
new file mode 100644
index 0000000000000000000000000000000000000000..d1ed5ce67cf108a2730e42ab921c11886312dc71
--- /dev/null
+++ b/chrome/browser/extensions/extension_settings_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,
+ false,
+ extension_id,
+ callback);
+}
+
+} // namespace
+
+INSTANTIATE_TEST_CASE_P(
+ ExtensionSettingsLeveldbStorage,
+ ExtensionSettingsStorageTest,
+ testing::Values(&Param));

Powered by Google App Engine
This is Rietveld 408576698