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/settings/settings_storage_unittest.h" | 5 #include "chrome/browser/extensions/settings/settings_storage_unittest.h" |
6 | 6 |
7 #include "chrome/browser/extensions/settings/in_memory_settings_storage.h" | 7 #include "chrome/browser/extensions/settings/testing_settings_storage.h" |
8 | 8 |
9 namespace extensions { | 9 namespace extensions { |
10 | 10 |
11 namespace { | 11 namespace { |
12 | 12 |
13 SettingsStorage* Param( | 13 SettingsStorage* Param( |
14 const FilePath& file_path, const std::string& extension_id) { | 14 const FilePath& file_path, const std::string& extension_id) { |
15 return new InMemorySettingsStorage(); | 15 return new TestingSettingsStorage(); |
16 } | 16 } |
17 | 17 |
18 } // namespace | 18 } // namespace |
19 | 19 |
20 INSTANTIATE_TEST_CASE_P( | 20 INSTANTIATE_TEST_CASE_P( |
21 InMemorySettingsStorage, | 21 TestingSettingsStorage, |
22 ExtensionSettingsStorageTest, | 22 ExtensionSettingsStorageTest, |
23 testing::Values(&Param)); | 23 testing::Values(&Param)); |
24 | 24 |
25 } // namespace extensions | 25 } // namespace extensions |
OLD | NEW |