OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "chrome/browser/extensions/extension_settings_storage_unittest.h" | 5 #include "chrome/browser/extensions/extension_settings_storage_unittest.h" |
6 | 6 |
7 namespace { | 7 namespace { |
8 | 8 |
9 ExtensionSettingsStorage* Param( | 9 ExtensionSettingsStorage* Param( |
10 ExtensionSettings* settings, | 10 const ExtensionSettings& settings, const std::string& extension_id) { |
11 const std::string& extension_id) { | 11 return settings.GetStorageForTesting( |
12 return settings->GetStorageForTesting( | |
13 ExtensionSettingsStorage::LEVELDB, false, extension_id); | 12 ExtensionSettingsStorage::LEVELDB, false, extension_id); |
14 } | 13 } |
15 | 14 |
16 } // namespace | 15 } // namespace |
17 | 16 |
18 INSTANTIATE_TEST_CASE_P( | 17 INSTANTIATE_TEST_CASE_P( |
19 ExtensionSettingsLeveldbStorage, | 18 ExtensionSettingsLeveldbStorage, |
20 ExtensionSettingsStorageTest, | 19 ExtensionSettingsStorageTest, |
21 testing::Values(&Param)); | 20 testing::Values(&Param)); |
OLD | NEW |