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, const std::string& extension_id) { | 10 const ExtensionSettings& settings, const std::string& extension_id) { |
11 return settings->GetStorageForTesting( | 11 return settings.GetStorageForTesting( |
12 ExtensionSettingsStorage::NOOP, true, extension_id); | 12 ExtensionSettingsStorage::NOOP, true, extension_id); |
13 } | 13 } |
14 | 14 |
15 } // namespace | 15 } // namespace |
16 | 16 |
17 INSTANTIATE_TEST_CASE_P( | 17 INSTANTIATE_TEST_CASE_P( |
18 ExtensionSettingsCachedNoopStorage, | 18 ExtensionSettingsCachedNoopStorage, |
19 ExtensionSettingsStorageTest, | 19 ExtensionSettingsStorageTest, |
20 testing::Values(&Param)); | 20 testing::Values(&Param)); |
OLD | NEW |