summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_settings_storage_cache_unittest.cc
blob: f14ca79d94e16c1a2be70b9b0f12f1db8ed53d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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"

#include "chrome/browser/extensions/extension_settings_storage_cache.h"
#include "chrome/browser/extensions/in_memory_extension_settings_storage.h"

namespace {

ExtensionSettingsStorage* Param(
    const FilePath& file_path, const std::string& extension_id) {
  return new ExtensionSettingsStorageCache(
      new InMemoryExtensionSettingsStorage());
}

}  // namespace

INSTANTIATE_TEST_CASE_P(
    ExtensionSettingsStorageCache,
    ExtensionSettingsStorageTest,
    testing::Values(&Param));